Ejemplo n.º 1
0
 void ClearCastObjs()
 {
     if (effectCastFx)
     {
         effectCastFx.Recycle();
     }
     if (castPlayer)
     {
         castPlayer.Recycle();
     }
     effectCastFx = null;
     castPlayer   = null;
 }
Ejemplo n.º 2
0
 protected override void OnRemove(bool isDead)
 {
     if (effectContinue)
     {
         effectContinue.Recycle();
     }
     if (audioContinue)
     {
         audioContinue.Recycle();
     }
     effectContinue = null;
     audioContinue  = null;
     Target.DoDamage(new Damage(eEffectType, nEndDamage), Master);
     EffectPlayer.PlayOnTransform(objEndEffectFX, Target.BeAtkPoint);
     AudioSystem.Instance.PlayOnTransform(acEndEffectSE, Target.BeAtkPoint);
 }