Exemplo n.º 1
0
 public void Init(MasterDataSkill sd, FieldObject c, EffectBase e, System.Action cb)
 {
     this.skillData = sd;
     this.caster    = c;
     this.effect    = e;
     this.callBack  = cb;
 }
Exemplo n.º 2
0
 public void DestroySelf()
 {
     this.skillData = null;
     this.effect.DestroySelf();
     this.effect = null;
     if (this.callBack != null)
     {
         this.callBack.Invoke();
         this.callBack = null;
     }
 }