ドキュメント

Unity Engine

Unity Engine

ChangeGameObjectOrComponentPropertiesEventArgs

Constructs a new instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

ChangeGameObjectOrComponentPropertiesEventArgs(EntityId, Scene)

Constructs a new instance.
public ChangeGameObjectOrComponentPropertiesEventArgs(EntityId entityId, Scene scene)

Parameters

entityId


scene

The Scene that contains the GameObject associated with the change. If a Component is changed, this is the GameObject to which the component belongs.

ChangeGameObjectOrComponentPropertiesEventArgs(int, Scene)

Constructs a new instance.
注意
Removed. ChangeGameObjectOrComponentPropertiesEventArgs(int instanceId, Scene scene) is deprecated. Use ChangeGameObjectOrComponentPropertiesEventArgs(EntityId entityId, Scene scene) instead.
public ChangeGameObjectOrComponentPropertiesEventArgs(int instanceId, Scene scene)

Parameters

instanceId

The instance ID of the modified GameObject or Component.

scene

The Scene that contains the GameObject associated with the change. If a Component is changed, this is the GameObject to which the component belongs.