PrefabUtility
.FindRootGameObjectWithSameParentPrefab
Manual
Reference
Scripting
Scripting
>
Editor Classes
>
PrefabUtility
PrefabUtility
.FindRootGameObjectWithSameParentPrefab
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
PrefabUtility
All Members
Class Functions
CreateEmptyPrefab
CreatePrefab
DisconnectPrefabInstance
FindPrefabRoot
FindRootGameObjectWithSameParentPrefab
FindValidUploadPrefabInstanceRoot
GetPrefabObject
GetPrefabParent
GetPrefabType
GetPropertyModifications
InstantiateAttachedAsset
InstantiatePrefab
IsComponentAddedToPrefabInstance
MergeAllPrefabInstances
ReconnectToLastPrefab
RecordPrefabInstancePropertyModifications
ReplacePrefab
ResetToPrefabState
RevertPrefabInstance
SetPropertyModifications
static
function
FindRootGameObjectWithSameParentPrefab (target :
GameObject
) :
GameObject
Description
Returns the topmost game object that has the same prefab parent as
target