PrefabUtility
.CreatePrefab
Manual
Reference
Scripting
Scripting
>
Editor Classes
>
PrefabUtility
PrefabUtility
.CreatePrefab
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
CreatePrefab (path :
String
, go :
GameObject
, options :
ReplacePrefabOptions
=
ReplacePrefabOptions
.
Default
) :
GameObject
Description
Creates a prefab from a game object hierarchy