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