Summary
A component which encapsulates a single
UltEvents.UltEventBase
with a delay before its invocation.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
- Base Types
-
- MonoBehaviour
- UltEventHolder
graph BT
Type-->Base0["UltEventHolder"]
click Base0 "/ultevents/api/UltEvents/UltEventHolder"
Base0-->Base1["MonoBehaviour"]
Type["DelayedUltEventHolder"]
class Type type-node
Syntax
[AddComponentMenu(UltEventUtils.ComponentMenuPrefix + "Delayed Ult Event Holder")]
[UltEventsHelpUrl(typeof(DelayedUltEventHolder))]
public class DelayedUltEventHolder : UltEventHolder
Attributes
Type | Description |
---|---|
AddComponentMenu | |
Ult |
[Assert-Conditional]
A HelpURLAttribute which points to the UltEvents documentation.
|
Properties
Name | Value | Summary |
---|---|---|
Delay | float |
The number of seconds that will pass between calling
UltEvents.DelayedUltEventHolder.Invoke and the event actually being invoked.
|
Event | UltEvent |
The encapsulated event.
Inherited from UltEventHolder
|
Methods
Name | Value | Summary |
---|---|---|
Invoke |
void |
Waits for
UltEvents.DelayedUltEventHolder.Delay seconds then calls Event.Invoke(). |
OnValidate |
void |
Ensures that the wait time isn't improperly cached.
|