EditorUtility.ResetGameObjectToPrefabStatestatic function ResetGameObjectToPrefabState (go : GameObject) : boolDescriptionResets the properties of game object and all attached components to the parent prefab state All overrides will be cleared. However the transform.position and rotation of a root game object in a prefab instance will never be cleared. |
