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