Пример #1
0
 protected virtual void OnCreateOrJoinGame(CreateOrJoinGameResponse e)
 {
     WaitingView.Instance.Close();
     if (EventCreateOrJoinGame != null)
     {
         //Debug.Log(LogEvent(EventCreateOrJoinGame));
         EventCreateOrJoinGame(e);
     }
 }
Пример #2
0
 public void OnCreateOrJoinGameResponse(CreateOrJoinGameResponse evt)
 {
     if (evt.Successful)
     {
         return;     // all is well, will handle the event with the join room event
     }
     waitingMessage = evt.Error.ToString();
     inGame = false;
     Debug.Log(waitingMessage);
     showReturnToLobbyButton = true;
 }