ObjectChangeEventStream.GetDestroyGameObjectHierarchyEvent

Switch to Manual
public void GetDestroyGameObjectHierarchyEvent (int eventIdx, out DestroyGameObjectHierarchyEventArgs data);

Parameters

eventIdxThe index of the event to get the data for.
dataThe data associated with the event.

Description

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.