示例#1
0
 void ActivateAtk()
 {
     if (FightBackMode)
     {
         AttackCalFX atkCal = Camera.mainCamera.GetComponent <AttackCalFX>();
         atkCal.fightBack   = false;
         atkCal.CriticalHit = false;
         atkCal.SetAttackSequence(Chess, Sel);
         FightBackMode = false;
     }
     else
     {
         currentSelect = Camera.mainCamera.GetComponent <selection>();
         currentSelect.AttackActivate(Chess, Sel);
     }
 }