The StatusManager contains all of the StatusEffects on a GameObject.
Displays the list of currently active StatusEffects and can add or remove effects through its public methods.
effects
An IReadOnlyListarrow-up-right of currently active StatusEffects.
SetGlobalTimeOverride
Overrides real-time duration to decrementing from a UnityEventarrow-up-right.
UnsetGlobalTimeOverride
Resets the time override to being real-time.
GetStatusEffects
Returns a list of the StatusEffects on the StatusManager.
AddStatusEffect
Adds a new StatusEffect to the StatusManager.
RemoveStatusEffect
Remove a StatusEffect from the StatusManager.
RemoveAllStatusEffects
Remove all StatusEffects from the StatusManager.
onStatusEffect
Invoked when a StatusEffect is added or removed.
Last updated 1 year ago