文档

Unity Engine

Download Unity

Unity Engine

eventTypeId

Retrieves the type ID for this event instance.
阅读时间1 分钟最后更新于 2 个月前

Definition

public virtual long eventTypeId { get; }

Remarks

This property provides an alternative to the
is
operator for checking whether a given event is of the expected type on platforms or build settings where that operator has performance overhead.