private void ActOnClick(Button button, MenuScreensService.MenuScreens state) { button.onClick.AddListener(delegate { Destroy(gameObject); _delegateService.ClickLogo(state); }); }
public void ClickLogo(MenuScreensService.MenuScreens state) { OnStateSetDel(state); }
public void SetState(MenuScreensService.MenuScreens state) { _menuScreensService.MenuStates = state; SwitchView(); }