예제 #1
0
 public void OnClicked()
 {
     GetComponent <Button>().interactable = false;
     settings.GetButton(gameObject.GetComponent <Button>());
     sound.PlayConfirmSound();
     Localisation.LanguageButtonClick(value);
 }
예제 #2
0
 public void PlayGame()
 {
     sound.PlayConfirmSound();
     title.SetActive(false);
     credits.SetActive(false);
     Scenemanager.Instance.StartGame();
     ExitAnimation();
 }
예제 #3
0
 public void Close()
 {
     openWindow.SetActive(false);
     restoreWindow.SetActive(true);
     sound.PlayConfirmSound();
 }
예제 #4
0
 public void ReturnToMenu()
 {
     sound.PlayConfirmSound();
     Scenemanager.Instance.ReturnToMenu();
     canvas.gameObject.SetActive(false);
 }
 public void CloseLeaderboards()
 {
     sound.PlayConfirmSound();
     Scenemanager.Instance.LoadLeaderboards(false);
 }