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