AddStatusEffect
Declaration
Parameters
stack
int?
Optional int count of the stacks to apply.
Returns
StatusEffect Returns the StatusEffect reference that was added to the StatusManager.
Description
Adds a new StatusEffect to the StatusManager.
Declaration
Parameters
duration
float
How long in seconds the effect should last.
stack
int?
Optional int count of the stacks to apply.
Returns
StatusEffect Returns the StatusEffect reference that was added to the StatusManager.
Description
Adds a new StatusEffect to the StatusManager for a duration of time.
Declaration
Parameters
duration
float
How long in seconds the effect should last.
stack
int?
Optional int count of the stacks to apply.
Returns
StatusEffect Returns the StatusEffect reference that was added to the StatusManager.
Description
Adds a new StatusEffect to the StatusManager for a duration that decrements when the referenced UnityEvent is invoked.
Declaration
Parameters
stack
int?
Optional int count of the stacks to apply.
Returns
StatusEffect Returns the StatusEffect reference that was added to the StatusManager.
Description
Adds a new StatusEffect to the StatusManager that will be removed when the predicate is true.
Last updated