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