StatusManager

The StatusManager contains all of the StatusEffects on a GameObject.

Description

Displays the list of currently active StatusEffects and can add or remove effects through its public methods.

Properties

effects

An IReadOnlyList of currently active StatusEffects.

Methods

Overrides real-time duration to decrementing from a UnityEvent.

Resets the time override to being real-time.

Returns a list of the StatusEffects on the StatusManager.

Adds a new StatusEffect to the StatusManager.

Remove a StatusEffect from the StatusManager.

Remove all StatusEffects from the StatusManager.

Actions

onStatusEffect

Invoked when a StatusEffect is added or removed.

Last updated