ForDuration(long)
After specified duration, the item will be automatically unscheduled.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
IVisualElementScheduledItem ForDuration(long durationMs)
Parameters
The total duration in milliseconds where this item will be active.
Returns
Type | Description |
|---|---|
| IVisualElementScheduledItem | This ScheduledItem. |