Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

ObjectOverride

class in UnityEditor.SceneManagement

/

Inherits from:SceneManagement.PrefabOverride

Description

Class with information about an object on a Prefab instance with overridden properties.

Properties

Description
coupledOverrideAccess the coupled component modifications of the object being overidden, if present.
instanceObjectThe object on the Prefab instance.

Public Methods

Description
ApplySee PrefabOverride.Apply.
GetAssetObjectSee PrefabOverride.GetAssetObject.
RevertSee PrefabOverride.Revert.

Inherited Members

Protected Methods

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