Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeRootOrderEventArgs

Constructs a new instance.
Read time 1 minuteLast updated 8 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


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.