Example #1
0
        protected override void OnEnter()
        {
            _backButton.onClick.AddListener(OnBackClick);

            _scenarioPanel.SetActive(true);
            _backButton.BestFit();
            _selectButton.BestFit();
            _selectedName.text        = string.Empty;
            _selectedDescription.text = string.Empty;
            _selectButton.gameObject.SetActive(false);
            _scenarioSelectPanel.SetActive(false);
            _bestFitTick = true;
            _scenarioController.ScenarioListSuccessEvent += OnScenarioSuccess;
            _scenarioController.GetScenarioList();
        }