public void Initialize() { transitionController = FindObjectOfType <MenuTransitionController>(); BindBtns(); SwitchEditableElemets(); transitionController.ActivatePanel(gameSelector); transitionController.ReturnToMainMenuEvent.AddListener(() => settingsBtn.gameObject.SetActive(true)); }
public void SelectAddMethod(GameName _game) { gameName = _game; createPanel = createCategoryPanel; libraryPanel = categoryLibrary; currentAddedObj = AddedObj.Category; categoryLibraryControl.FillLibrary(_game); transitionController.ActivatePanel(categoryMethodSelectorPanel); StartSelectMethodRoutine(); Signals.SelectCreateMethodCategory.Invoke(); }