EditorUtility.GetPrefabParent Manual     Reference     Scripting  
Scripting > Editor Classes > EditorUtility
EditorUtility.GetPrefabParent

static function GetPrefabParent (source : Object) : Object

Description

Returns the GameObject parent of source, or null if it can't be found.