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(); }
private void ShowMenu() { var menuForm = new MenuDialog(); menuForm.ShowDialog(this); }