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

Name
Type
Description

Effects

An IEnumerable of currently active StatusEffects.

Methods

Name
Description

Returns true if a StatusEffect is found given an instance ID.

Returns a list of the StatusEffects on the StatusManager.

Returns the first StatusEffect on the StatusManager.

Adds a new StatusEffect to the StatusManager.

Remove a StatusEffect from the StatusManager.

Remove all StatusEffects from the StatusManager.

Actions

Name
Description

OnStatusEffect

Invoked when a StatusEffect is added or removed.

Last updated