This version of Unity is unsupported.

PrefabOverride

class in UnityEditor.SceneManagement

Description

Class with information about a given override on a Prefab instance.

Public Methods

ApplyApplies the override to the Prefab Asset at the given path.
GetAssetObjectReturns the asset object of the override in the outermost Prefab that the Prefab instance comes from.
RevertReverts the override on the Prefab instance.

Protected Methods

FindApplyTargetAssetObjectFinds the object in the Prefab Asset at the given path which will be applied to.