Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeGameObjectOrComponentPropertiesEventArgs

Constructs a new instance.
Read time 1 minuteLast updated 9 days ago

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.
Warning
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.