Interface IVisualElementScheduler
A scheduler allows you to register actions to be executed at a later point.
Namespace: UnityEngine.UIElements
Syntax
public interface IVisualElementScheduler
Methods
Execute(Action)
Schedule this action to be executed later.
Declaration
IVisualElementScheduledItem Execute(Action updateEvent)
Parameters
Type | Name | Description |
---|---|---|
Action | updateEvent | The action to be executed. |
Returns
Type | Description |
---|---|
IVisualElementScheduledItem | Reference to the scheduled action. |
Execute(Action<TimerState>)
Schedule this action to be executed later.
Declaration
IVisualElementScheduledItem Execute(Action<TimerState> timerUpdateEvent)
Parameters
Type | Name | Description |
---|---|---|
Action<TimerState> | timerUpdateEvent | The action to be executed. |
Returns
Type | Description |
---|---|
IVisualElementScheduledItem | Reference to the scheduled action. |