ObjectChangeEventStream.GetCreateGameObjectHierarchyEvent

Switch to Manual
public void GetCreateGameObjectHierarchyEvent (int eventIdx, out CreateGameObjectHierarchyEventArgs 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 CreateGameObjectHierarchyEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.