Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeChildrenOrderEventArgs

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

Definition

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

ChangeChildrenOrderEventArgs(EntityId, Scene)

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

Parameters

entityId


scene

The Scene containing the GameObject whose children were reordered.

ChangeChildrenOrderEventArgs(int, Scene)

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

Parameters

instanceId

The instance ID of the parent GameObject whose children have been reordered. Note that this is not the instance ID of the Transform component.

scene

The Scene containing the GameObject whose children were reordered.