CommandEventBase<T>
Base class for command events.
읽는 시간 2분최근 업데이트: 한 달 전
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: EventBase<T>
- Implements: IDisposable, ICommandEvent
public abstract class CommandEventBase<T> : EventBase<T>, IDisposable, ICommandEvent where T : CommandEventBase<T>, new()
Properties
Property | Description |
|---|---|
| commandName | The command to validate or execute. |
Methods
Method | Description |
|---|---|
| Init | Resets the event members to their initial values. |
Static Methods
Method | Description |
|---|---|
| GetPooled | Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained using this method need to be released back to the pool. You can use |