class in UnityEditor.SceneManagement
/
Inherits from:SceneManagement.PrefabOverride
Class with information about a GameObject that has been removed from a Prefab instance.
Additional resources: PrefabUtility.ApplyRemovedGameObject, PrefabUtility.RevertRemovedGameObject, PrefabUtility.GetRemovedGameObjects.
Property | Description |
---|---|
assetGameObject | The GameObject in the Prefab Asset that has been removed in the Prefab instance. |
parentOfRemovedGameObjectInInstance | The parent of the removed GameObject in the instance. |
Method | Description |
---|---|
Apply | See: PrefabOverride.Apply. |
GetAssetObject | See PrefabOverride.GetAssetObject. |
Revert | Restore the removed GameObject to the Prefab instance. See PrefabOverride.Revert. |
Method | Description |
---|---|
FindApplyTargetAssetObject | Finds the object in the Prefab Asset at the given path which will be applied to. |