PrefabOverride

class in UnityEditor.SceneManagement

/

Implemented in:UnityEditor

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.