public static void ChangeGameToMakingPotions() { diagnosticState = DiagnosticState.MakingPotion; PrognosticPanelController.Show(); DiagnosticPanelController.Hide(); OptionsToolController.Hide(); }
void OnMouseDown() { if (IsLeftMousePressed()) { if (!OptionsToolController.IsMouseOver()) { if (IsGameMakingDiagnostic() && !DiagnosticSceneController.ThereIsDialogToShow()) { OptionsToolController.Show(this, notifyInformation); } } } }
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(); }
private void Awake() { singleton = this; boxCollider = GetComponent <BoxCollider2D>(); this.gameObject.SetActive(false); }