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