GetDestroyGameObjectHierarchyEvent(int, out DestroyGameObjectHierarchyEventArgs)
Retrieves the event data at the given index as a DestroyGameObjectHierarchyEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
GetDestroyGameObjectHierarchyEvent(int, DestroyGameObjectHierarchyEventArgs)
public void GetDestroyGameObjectHierarchyEvent(int eventIdx, out DestroyGameObjectHierarchyEventArgs data)
Parameters
The index of the event to get the data for.
The data associated with the event.