Exemplo n.º 1
0
 public void QuitGame()
 {
     // Key Pressing Sound
     KeyPressScript.PlaySound("KeyPress");
     Debug.Log("QUIT!!!");
     Application.Quit();
 }
Exemplo n.º 2
0
 public void PlayGame()
 {
     // Key Pressing Sound
     KeyPressScript.PlaySound("KeyPress");
     SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
 }
Exemplo n.º 3
0
 public void Volume()
 {
     // Key Pressing Sound
     KeyPressScript.PlaySound("KeyPress");
 }