Пример #1
0
 private void ButtonStartGameStateDisconnected()
 {
     TextButtonStartGame.text     = "Connect";
     ButtonStartGame.interactable = true;
     ButtonStartGame.onClick.RemoveAllListeners();
     ButtonStartGame.onClick.AddListener(() =>
     {
         ReconnectFailed = false;
         GameManagerComponent.Connect();
     });
 }