Esempio n. 1
0
 internal void OnRemoveFromBattle()
 {
     this._implement.OnDestroy();
     BuffImplPool.Push(this._implement);
     this._implement = null;
     this.target?.RedRef();
     this.caster.RedRef();
     this.target        = null;
     this.caster        = null;
     this.skillData     = null;
     this.markToDestroy = false;
     SyncEventHelper.DespawnBuff(this.rid);
 }