public void Gallery() { if (OnCardClicked) { TKSceneManager.ChangeScene("GalleryScene"); } else { OnBackCardClicked(); } }
public void OnSubmitButtonClicked() { if (passwordInput.text.Equals(CORRECT_ANSWER)) { TKSceneManager.ChangeScene("StartScene"); }////************************************************************ else { hint.text = INCORRECT_ANSWER; hint.color = Color.red; passwordInput.text = ""; } }
public void checkPassword() { if (password == inputPassword.text) { { TKSceneManager.ChangeScene(nextScene); } } else { inputPassword.text = ""; checkCorrect.gameObject.SetActive(true); } }
public void OnSubmitButtonClicked() { if (pwInp.text.Equals(correctAnswer)) { TKSceneManager.ChangeScene(nextLevelSceneFileName); } else { pwInp.text = ""; hintText.text = ACCESSDENIED_TEXT; hintText.color = Color.red; if (hintTextCoroutine != null) { StopCoroutine(hintTextCoroutine); } hintTextCoroutine = StartCoroutine(ChangeHintTextBack()); } }
public void OnSubmitButtonClicked() { if (passwordInput.text == password) { TKSceneManager.ChangeScene(nextLevelSceneFilename); } else { passwordInput.text = ""; hintTextField.text = ACCESS_DENIED_TEXT; hintTextField.color = Color.red; if (hintTextCoroutine != null) { StopCoroutine(hintTextCoroutine); } hintTextCoroutine = StartCoroutine(ChangeHintTextBack()); } }
public void OnSubmitButtonClicked() { string answer = passwordInput.text; if (CheckAnswer(answer)) { TKSceneManager.ChangeScene(nextSceneName); } else { textMessage.text = MESSAGE; textMessage.color = Color.red; passwordInput.text = ""; if (hintCoroutine == null) { hintCoroutine = StartCoroutine(ChangeHintTextBack(2f)); } } }
public void Next() { if (OnCardClicked) { var currentBossID = PlayerPrefs.GetInt("CurrentBoss", 1); currentBossID++; if (currentBossID >= listCard.Count) { TKSceneManager.ChangeScene("StartScene"); } else { PlayerPrefs.SetInt("CurrentBoss", currentBossID); TKSceneManager.ChangeScene("GameScene"); } } else { OnBackCardClicked(); } }
// -------------------------- lose panel --------------------------- public void TryAgain() { TKSceneManager.ChangeScene(SceneManager.GetActiveScene().name); }
public void Begin() { TKSceneManager.ChangeScene("Level1"); }
public void ButtonPlayOnClick() { TKSceneManager.ChangeScene("PathScene"); }
public void OnBeginButtonClicked() { TKSceneManager.ChangeScene(TKSceneManager.LEVEL01); }
public void OnStartButtonClicked() { TKSceneManager.ChangeScene("Level1"); }
public void OnRetryButtonTapped() { TKSceneManager.ChangeScene("PlayScene"); }
public void NextScene() { TKSceneManager.ChangeScene("Level2"); }
public void ButtonBackClicked() { TKSceneManager.ChangeScene("StartScene"); }
private IEnumerator AnimateGameOver() { yield return(new WaitForSeconds(1)); TKSceneManager.ChangeScene("GameOverScene"); }
public void OnBeginButtonClicked() { TKSceneManager.ChangeScene("level 1"); }
public override void OnPointerClick(PointerEventData eventData) { AudioManagerScript.instance.Clicked(); base.OnPointerClick(eventData); TKSceneManager.ChangeScene(thisLevel); }
public void Exit() { TKSceneManager.ChangeScene("StartScene"); }
public void Restart() { TKSceneManager.ChangeScene("Level" + levelNumber); score = 0; }
public void OnHomeButtonTapped() { TKSceneManager.ChangeScene("StartScene"); }
public void ButtonBackInPreLevel() { TKSceneManager.ChangeScene("PathScene"); }
public IEnumerator AnimateGameOver() { yield return(new WaitForSeconds(1f)); TKSceneManager.ChangeScene("End Scene"); }
public void OnReplayButtonTapped() { ReplayButton.enabled = false; TKSceneManager.ChangeScene("Gameplay Scene"); }
public void ChangeSceneToGallery() { TKSceneManager.ChangeScene(galleryScene); }
public void OnStartButtonTapped() { TKSceneManager.ChangeScene("Gameplay Scene"); }
public void OutOfLevel() { TKSceneManager.ChangeScene("PathScene"); }
public void ChangeSceneToStartScene() { TKSceneManager.ChangeScene(startScene); }
public void ButtonNextInGameWin() { TKSceneManager.ChangeScene("Level" + levelUnlocked); }
public void Begin() { //SceneManager.LoadScene ("Level1"); TKSceneManager.ChangeScene("Level1"); }