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