Esempio n. 1
0
 public void Bomb()
 {
     throwerHand.Initiailize(targetsName);
     throwerHand.AttackArea(coll, 2, AttackInterruptType.WEAK);
     throwerHand.Initiailize(originName);
     //播放爆炸动画
     poolManager.RemoveGameObject(REMOTE_CONTROL_BOMB_NAME, gameObject);
 }
Esempio n. 2
0
 public override void ReleaseSpell()
 {
     Debug.Log("AttackEvent");
     //找到攻击命中的单位 canFight.AttackArea实现了攻击
     targets = canFight.AttackArea(normalAttackArea, normalAttackDamage);
     if (targets != null)
     {
         foreach (CanBeFighted a in targets)
         {
             a.BeatBack(player.transform, normalInterruptTime, normalInterruptVector);
         }
         //Debug.Log("打到了: " + targetsName.ToString());
         //targetsName.Clear();
     }
 }