예제 #1
0
 public static void ChangeGameToMakingPotions()
 {
     diagnosticState = DiagnosticState.MakingPotion;
     PrognosticPanelController.Show();
     DiagnosticPanelController.Hide();
     OptionsToolController.Hide();
 }
예제 #2
0
 void OnMouseDown()
 {
     if (IsLeftMousePressed())
     {
         if (!OptionsToolController.IsMouseOver())
         {
             if (IsGameMakingDiagnostic() && !DiagnosticSceneController.ThereIsDialogToShow())
             {
                 OptionsToolController.Show(this, notifyInformation);
             }
         }
     }
 }
예제 #3
0
 void OnMouseDown()
 {
     if (IsLeftMousePressed())
     {
         if (!OptionsToolController.IsMouseOver())
         {
             if (IsGamePlaying())
             {
                 OptionsToolController.Show(this, notifyInformation);
             }
         }
     }
 }
 private void ShowText()
 {
     string textToShow = OptionsToolController.GetTextFromOptionType(this.optionType);
     DialogPanelController.SetTextAnimated(textToShow);
 }
 private void HideOptionsTool()
 {
     OptionsToolController.Hide();
 }
예제 #6
0
 private void Awake()
 {
     singleton   = this;
     boxCollider = GetComponent <BoxCollider2D>();
     this.gameObject.SetActive(false);
 }