PrefabUtility.GetPrefabObject
static function GetPrefabObject(targetObject: Object): Object;
static Object GetPrefabObject(Object targetObject);
static def GetPrefabObject(targetObject as Object) as Object
Parameters

targetObject An object contained within a prefab object.
Description

Retrieves the enclosing prefab for any object contained within.