示例#1
0
 private void NewGame()
 {
     confirmPanel.SetActive(false);
     cScript.ReturnToMainMenu();
     cScript.mainMenu.GetComponent <Main_Menu_Script>().NewGame();
     cScript.PlaySound(Control_Script.audioThing.SELECT);
 }
示例#2
0
 void OnMouseDown()
 {
     if (!c.uiActive)
     {
         c.SetActiveWindow(Control_Script.windows.BLACKSMITH);
         c.PlaySound(Control_Script.audioThing.SELECT);
     }
 }
 void OnMouseDown()
 {
     if (!cScript.uiActive)
     {
         controlObj.GetComponent <Control_Script>().SetActiveWindow(Control_Script.windows.WEAPONS);
         cScript.PlaySound(Control_Script.audioThing.SELECT);
     }
 }
 void OnMouseDown()
 {
     if (!c.uiActive)
     {
         controlObj.GetComponent <Control_Script>().SetActiveWindow(Control_Script.windows.MICROTRANSACTIONS);
         c.PlaySound(Control_Script.audioThing.SELECT);
     }
 }
 void OnMouseDown()
 {
     if (!c.uiActive)
     {
         c.ExecuteAction(Control_Script.actions.EXPLORE);
         c.PlaySound(Control_Script.audioThing.SELECT);
     }
 }
 public void OpenBlacksmith()
 {
     c.ExecuteAction(Control_Script.actions.WORK);
     c.PlaySound(Control_Script.audioThing.SELECT);
 }
示例#7
0
 // Update is called once per frame
 private void GoToMain()
 {
     cScript.SetActiveWindow(Control_Script.windows.NONE);
     cScript.PlaySound(Control_Script.audioThing.SELECT);
 }
 // Update is called once per frame
 public void TutButtonOne()
 {
     tutorialPanelOne.SetActive(false);
     tutorialPanelTwo.SetActive(true);
     cScript.PlaySound(Control_Script.audioThing.SELECT);
 }
 public void OpenDojo()
 {
     c.ExecuteAction(Control_Script.actions.TRAIN);
     c.PlaySound(Control_Script.audioThing.SELECT);
 }