This version of Unity is unsupported.
Method group is Obsolete

PrefabUtility.ResetToPrefabState

Obsolete Use RevertObjectOverride.

Declaration

public static bool ResetToPrefabState(Object obj);

Description

Resets the properties of the component or game object 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.