Version: 2019.2

PrefabOverride

class in UnityEditor.SceneManagement

Switch to Manual

Description

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

Public Functions

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 Functions

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