DestroyGameObjectHierarchyEventArgs
Constructs a new instance.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor
- Assembly: UnityEditor
DestroyGameObjectHierarchyEventArgs(int, Scene)
Constructs a new instance.
public DestroyGameObjectHierarchyEventArgs(int instanceId, Scene scene)
Parameters
The instance ID of the GameObject that has been destroyed.
The Scene containing the GameObject that has been destroyed.
DestroyGameObjectHierarchyEventArgs(int, int, Scene)
Constructs a new instance.
public DestroyGameObjectHierarchyEventArgs(int instanceId, int parentInstanceId, Scene scene)
Parameters
The instance ID of the GameObject that has been destroyed.
The instance ID for the parent GameObject of the GameObject that has been destroyed.
The Scene containing the GameObject that has been destroyed.