ドキュメント

Unity Engine

Unity Engine

GetEventType(int)

Returns the type of the event at the specified index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public ObjectChangeKind GetEventType(int eventIdx)

Parameters

eventIdx

The index of the event whose type should be returned.

Returns

Type

Description

ObjectChangeKindThe type of the event at the specified index.

Remarks

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