Ejemplo n.º 1
0
 public void WinRound()
 {
     m_Animator.SetTrigger("attack");
     m_Fireball.Fire();
     //juice this: bounce
     // flashCoroutine = StartCoroutine(Flash(3));
 }
Ejemplo n.º 2
0
 void DoFire()
 {
     if (fireBallCount > 0)
     {
         Fireball newFireBall = Instantiate(fireball, transform.position, Quaternion.identity);
         if (newFireBall)
         {
             newFireBall.Fire();
             fireBallCount         -= 1;
             fireBallCountText.text = fireBallCount.ToString();
         }
     }
 }