Unity - Scripting API: ObjectOverride
class in UnityEditor.SceneManagement
/
Inherits from:SceneManagement.PrefabOverride
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Class with information about an object on a Prefab instance with overridden properties.
Properties
| Property | Description |
|---|---|
| coupledOverride | Access the coupled component modifications of the object being overidden, if present. |
| instanceObject | The object on the Prefab instance. |
Public Methods
| Method | Description |
|---|---|
| Apply | See PrefabOverride.Apply. |
| GetAssetObject | See PrefabOverride.GetAssetObject. |
| Revert | See PrefabOverride.Revert. |
Inherited Members
Protected Methods
| Method | Description |
|---|---|
| FindApplyTargetAssetObject | Finds the object in the Prefab Asset at the given path which will be applied to. |