Exemplo n.º 1
0
        private void Start()
        {
            SettingsDialogController.LoadAndApplySettings();
            MenuCanvas.gameObject.SetActive(true);
            SettingsDialogController.gameObject.SetActive(false);
            InformationDialog.gameObject.SetActive(false);
            EnterCityMenuDialog.gameObject.SetActive(false);
            MenuDialog.gameObject.SetActive(false);
            CityControllerBase.transform.position   = new Vector3(99999, 0, 0);
            PlayerControllerBase.transform.position = new Vector3(99999, 0, 0);

            MenuDialog.ShowDialog();
        }
Exemplo n.º 2
0
        private void ShowMenu()
        {
            var menuForm = new MenuDialog();

            menuForm.ShowDialog(this);
        }