文档

Unity Engine

Unity Engine

EventArg

Base class for all instances of EventArg<TArg>.
阅读时间1 分钟最后更新于 1 个月前

Definition

public abstract class EventArg

Remarks

Use the EventArg.Create factory method to create instances and EventArg<TArg>.Register, EventArg<TArg>.Unregister to assign argument values to individual elements for all callbacks that use this argument identifier in their definition.

Static Methods

Method

Description

CreateCreates a EventArg<TArg> containing a unique identifier.