ObjectChangeEventStream

struct in UnityEditor

Switch to Manual

Description

Represents a stream of events that describes the changes applied to objects in memory over the course of a frame.

Variables

isCreatedIndicates whether the ObjectChangeEventStream has an allocated memory buffer.
lengthThe number of events in the stream.

Public Functions

CloneCreates a copy of this stream with the specified allocator.
DisposeReleases the memory associated with this stream.
GetChangeAssetObjectPropertiesEventRetrieves the event data at the given index as a ChangeAssetObjectPropertiesEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetChangeGameObjectOrComponentPropertiesEventRetrieves the event data at the given index as a ChangeAssetObjectPropertiesEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetChangeGameObjectParentEventRetrieves the event data at the given index as a ChangeGameObjectParentEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetChangeGameObjectStructureEventRetrieves the event data at the given index as a ChangeGameObjectStructureEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetChangeGameObjectStructureHierarchyEventRetrieves the event data at the given index as a ChangeGameObjectStructureHierarchyEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetChangeSceneEventRetrieves the event data at the given index as a ChangeSceneEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetCreateAssetObjectEventRetrieves the event data at the given index as a CreateAssetObjectEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetCreateGameObjectHierarchyEventRetrieves 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.
GetDestroyAssetObjectEventRetrieves the event data at the given index as a DestroyAssetObjectEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
GetDestroyGameObjectHierarchyEventRetrieves 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.
GetEventTypeReturns the type of the event at the specified index.
GetUpdatePrefabInstancesEventRetrieves the event data at the given index as a UpdatePrefabInstancesEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.