Version: 2021.3
public ObjectChangeKind GetEventType (int eventIdx);

参数

eventIdx The index of the event whose type should be returned.

返回

ObjectChangeKind The type of the event at the specified index.

描述

Returns the type of the event at the specified index.

Use this function to query the type of an event before using any of the other functions (e.g. ObjectChangeEventStream.GetChangeAssetObjectEvent) to retrieve the event data.