PrefabUtility
.InstantiateAttachedAsset
Manual
Reference
Scripting
Scripting
>
Editor Classes
>
PrefabUtility
PrefabUtility
.InstantiateAttachedAsset
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
InstantiateAttachedAsset (targetObject :
Object
) :
Object
Description
Instantiate an asset that is referenced by a prefab and use it on the prefab instance.