Builder

struct in UnityEditor

Switch to Manual

Description

Provides a way to construct an instance of ObjectChangeEventStream.

Variables

eventCountThe number of events that have been recorded in this instance so far.

Constructors

ObjectChangeEventStream.BuilderConstructs a new instance.

Public Functions

DisposeReleases the memory associated with this instance.
PushChangeAssetObjectPropertiesEventAdds an ChangeAssetObjectPropertiesEventArgs to the end of the stream.
PushChangeGameObjectOrComponentPropertiesEventAdds an ChangeGameObjectOrComponentPropertiesEventArgs to the end of the stream.
PushChangeGameObjectParentEventAdds an ChangeGameObjectParentEventArgs to the end of the stream.
PushChangeGameObjectStructureEventAdds an ChangeGameObjectStructureEventArgs to the end of the stream.
PushChangeGameObjectStructureHierarchyEventAdds an ChangeGameObjectStructureHierarchyEventArgs to the end of the stream.
PushChangeSceneEventAdds an ChangeSceneEventArgs to the end of the stream.
PushCreateAssetObjectEventAdds an CreateAssetObjectEventArgs to the end of the stream.
PushCreateGameObjectHierarchyEventAdds an CreateGameObjectHierarchyEventArgs to the end of the stream.
PushDestroyAssetObjectEventAdds an DestroyAssetObjectEventArgs to the end of the stream.
PushDestroyGameObjectHierarchyEventAdds an DestroyGameObjectHierarchyEventArgs to the end of the stream.
PushUpdatePrefabInstancesEventAdds an UpdatePrefabInstancesEventArgs to the end of the stream.
ToStreamCopies the data collected in this instance into a new ObjectChangeEventStream instance.