GetStatusEffects

Declaration

public static List<StatusEffect> GetStatusEffects(StatusEffectGroup? group = null, ComparableName? name = null, StatusEffectData? data = null)

Parameters

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.

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, name, or data is given then only effects with the same group, name, and data will be selected.

Last updated