コード例 #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);
     }
 }
コード例 #3
0
 void OnMouseDown()
 {
     if (!cScript.uiActive)
     {
         controlObj.GetComponent <Control_Script>().SetActiveWindow(Control_Script.windows.WEAPONS);
         cScript.PlaySound(Control_Script.audioThing.SELECT);
     }
 }
コード例 #4
0
 void OnMouseDown()
 {
     if (!c.uiActive)
     {
         controlObj.GetComponent <Control_Script>().SetActiveWindow(Control_Script.windows.MICROTRANSACTIONS);
         c.PlaySound(Control_Script.audioThing.SELECT);
     }
 }
コード例 #5
0
 void OnMouseDown()
 {
     if (!c.uiActive)
     {
         c.ExecuteAction(Control_Script.actions.EXPLORE);
         c.PlaySound(Control_Script.audioThing.SELECT);
     }
 }
コード例 #6
0
 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);
 }
コード例 #8
0
 // Update is called once per frame
 public void TutButtonOne()
 {
     tutorialPanelOne.SetActive(false);
     tutorialPanelTwo.SetActive(true);
     cScript.PlaySound(Control_Script.audioThing.SELECT);
 }
コード例 #9
0
 public void OpenDojo()
 {
     c.ExecuteAction(Control_Script.actions.TRAIN);
     c.PlaySound(Control_Script.audioThing.SELECT);
 }