GetStatusEffects
Last updated
Last updated
public static List<StatusEffect> GetStatusEffects(string? group = null, string? name = null)
List<StatusEffect> Returns a list of all status effects on the MonoBehaviour.
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.
group
The group to select in the effect list.
name
The name of the effect to select in the effect list.