ApplyComponentInstanceChangesToPrefab | Sandbox.GameObject.PrefabInstanceData.ApplyComponentChangesToPrefab(Sandbox.Component) |
ApplyGameObjectInstanceChangesToPrefab | Sandbox.GameObject.PrefabInstanceData.ApplyGameObjectChangesToPrefab(Sandbox.GameObject) |
ApplyPropertyChange | Sandbox.GameObject.PrefabInstanceData.ApplyPropertyChangeToPrefab(System.Object,System.String) |
ConvertGameObjectToPrefab | Convert a GameObject to a prefab. This will write the newly created prefab to disk and set the prefab source on the GameObject. |
CreateAssetobsolete | Create a prefab out of any GameObject |
GetOuterMostPrefabName | Returns the name of the prefab file that this GameObject or Component is an instance of. |
GetTargetsobsolete | Get a SerializedProperty representing variable targets. Will return null if there are no targets |
GetTemplates | Fetches all prefab templates to show in Create GameObject menus |
GetVariablesobsolete | |
IsComponentAddedToInstance | Sandbox.GameObject.PrefabInstanceData.IsAddedComponent(Sandbox.Component) |
IsComponentInstanceModified | Sandbox.GameObject.PrefabInstanceData.IsComponentModified(Sandbox.Component) |
IsComponentPartOfInstance | Returns true if the owning GameObject is part of a prefab instance. |
IsGameObjectAddedToInstance | Sandbox.GameObject.PrefabInstanceData.IsAddedGameObject(Sandbox.GameObject) |
IsGameObjectInstanceModified | Sandbox.GameObject.PrefabInstanceData.IsGameObjectModified(Sandbox.GameObject,System.Boolean) |
IsInstanceModified | Sandbox.GameObject.PrefabInstanceData.IsModified |
IsPropertyOverridden | Sandbox.GameObject.PrefabInstanceData.IsPropertyOverridden(System.Object,System.String,System.Boolean) |
RevertComponentInstanceChanges | Sandbox.GameObject.PrefabInstanceData.RevertComponentChanges(Sandbox.Component) |
RevertGameObjectInstanceChanges | Sandbox.GameObject.PrefabInstanceData.RevertGameObjectChanges(Sandbox.GameObject) |
RevertInstanceToPrefab | Revert a prefab instance to the state of the prefab. |
RevertPropertyChange | Sandbox.GameObject.PrefabInstanceData.RevertPropertyChange(System.Object,System.String) |
WriteInstanceToPrefab | Write a prefab instance back to the prefab file and save it to disk. |