Exemple #1
0
 public void Clicked()
 {
     if (targetObject != null)
     {
         targetObject.Jump();
     }
 }
 public void JumpPlayer2(int allPlayers)
 {
     Player2Jump.Jump(allPlayers);
     scoretextPlayer2.text = "Score: " + scorePlayer2;
 }
 public void JumpPlayer1(int allPlayers)
 {
     Player1Jump.Jump(allPlayers);
     scoretextPlayer1.text = "Score: " + scorePlayer1;
 }