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