Version: 2021.3

ChangeGameObjectOrComponentPropertiesEventArgs

struct in UnityEditor

切换到手册

描述

A change of this type indicates that a property of a GameObject or Component has changed. This happens for example when Undo.RecordObject is used with an instance of a Component.

变量

instanceIdThe instance ID of the modified GameObject or Component.
sceneThe Scene that contains the GameObject associated with the change. If a Component is changed, this is the GameObject to which the component belongs.

构造函数

ChangeGameObjectOrComponentPropertiesEventArgsConstructs a new instance.