public void Update(EffectHandlerComponent unit) { if (Effect == null || EffectData == null) { return; } Effect.ApplyEffect(unit, EffectData); }
public abstract void ApplyEffect <T>(EffectHandlerComponent unit, T data) where T : IEffectData;