Documentation

Unity Engine

Download Unity

Unity Engine

ChangeRootOrderEventArgs

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

Definition

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

ChangeRootOrderEventArgs(EntityId, Scene)

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

Parameters

entityId

EntityId

scene

The Scene containing the GameObject whose root order index was changed.

ChangeRootOrderEventArgs(int, Scene)

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

Parameters

instanceId

The instance ID of the GameObject being reordered. Note that this is not the instance ID of the Transform component.

scene

The Scene containing the GameObject whose root order index was changed.