Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

ObjectChangeEventStream

struct in UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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

Properties

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

Public Methods

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.
GetChangeChildrenOrderEventRetrieves the event data at the given index as a ChangeChildrenOrderEventArgs. 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.
GetChangeRootOrderEventRetrieves the event data at the given index as a ChangeRootOrderEventArgs. 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.