DelayedEvent
A class in Root.Township, the global namespace.
Fires a UnityEvent after a delay, either on start or when Invoke is called (for example from another UnityEvent).
- Listed in Global namespace: C to D
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
DelayedEvent() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
Methods
| Member | What it is |
|---|---|
void Invoke() | Fires delayedEvent after duration seconds, or straight away if the duration is 0. |