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