Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeRootOrderEventArgs(int, Scene)

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

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.