public void Tap(float power) { //text.text = "Tap"; if (isAlive) { movement.jump(power); anim.SetTrigger("Jump"); jumpSound.Play(); } }
public void Tap(float power) { //text.text = "Tap"; if (isAlive) { movement.jump(power); anim.SetTrigger("Jump"); jumpSound.Play(); } }