RemoveStatusEffect

Declaration

public static void RemoveStatusEffect(StatusEffect statusEffect)

Parameters

statusEffect

The StatusEffect reference that should be removed.

Description

Removes a StatusEffect from a given MonoBehaviour.


Declaration

public static void RemoveStatusEffect(StatusEffectData statusEffectData)

Parameters

statusEffectData

The StatusEffectData used by the StatusEffect that should be removed.

Description

Removes a StatusEffect from a given MonoBehaviour that contains the given StatusEffectData.


Declaration

public static void RemoveStatusEffect(string name)

Parameters

name

The string name of the StatusEffectData used by the StatusEffect that should be removed.

Description

Removes a StatusEffect from a given MonoBehaviour that contains the given string name.

Last updated