GetStatusEffects
Declaration
public static List<StatusEffect> GetStatusEffects(string? group = null, string? name = null)
Parameters
group
The group to select in the effect list.
name
The name of the effect to select in the effect list.
Returns
List<StatusEffect> Returns a list of all status effects on the MonoBehaviour.
Description
Searches a given MonoBehaviour for an effect list. If a group or name string is given then only effects with the same group name or effect name will be selected.
Last updated