PlayerCharacterStats.activeEffects
public IReadOnlyList<GDTKStatusEffect> activeEffects { get; }Description#
Returns a read-only list of Status Effects currently active on this object.
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(PlayerCharacterStats source) { foreach(GDTKStatusEffect effect in source.activeEffects) { source.RemoveEffect(effect); } }
}