Version: 2022.2
言語: 日本語

ObjectChangeEventStream

struct in UnityEditor

マニュアルに切り替える

説明

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

変数

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

Public 関数

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.
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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961