// Handles click on Tutorial first stapes button public void TutorialFirstSteps() { this.confirm_button_panel.SetActive(true); this.confirm = ConfirmCall.TUTORIAL_FIRST_STEPS; this.tutorial_text_title.GetComponent <Text>().text = MenuText.GetTitle(this.tutorial_menu_texts[1]); this.tutorial_text.GetComponent <Text>().text = MenuText.GetText(this.tutorial_menu_texts[1]); }
// private void OnOkIvk() { if (_ConfirmCall != null) { _ConfirmCall(); } Show(false, ""); _ConfirmCall = null; _CancelCall = null; }
// void OnCancelIvk() { if (_CancelCall != null) { _CancelCall(); } Show(false); _ConfirmCall = null; _CancelCall = null; }
// Use this for initialization void Start() { this.confirm = ConfirmCall.UNKNOWN; this.back = BackCall.UNKNOWN; this.screen = MainMenuScreen.MAIN_MENU; // convert text file to texts (string array) tutorial_menu_texts = tutorial_text_file.text.Split( new string[] { "--END--\r\n" }, System.StringSplitOptions.None); // Get text and title from tutorial panel this.tutorial_text_title = Utilities.GetChildrenByName(this.tutorial_panel, "Title"); this.tutorial_text = Utilities.GetChildrenByName(this.tutorial_panel, "Text"); }