Beispiel #1
0
 public void UpdateDisplay(NetTransport.ILobbyEntry data)
 {
     NetTransport.LobbyDisplayInfo info = default(NetTransport.LobbyDisplayInfo);
     if (data == null)
     {
         info.InitBlank();
     }
     else
     {
         data.getDisplayInfo(out info);
     }
     UpdateDisplay(info);
 }
Beispiel #2
0
 public void ClearDisplay()
 {
     prevDispInfo.InitBlank();
     MaxPlayersText.text         = string.Empty;
     JoinGameInProgressText.text = string.Empty;
     InviteText.text             = string.Empty;
     LockLevelText.text          = string.Empty;
     LaunchedText.text           = string.Empty;
     LobbyNameText.text          = string.Empty;
     if (LevelText != null)
     {
         LevelText.text = string.Empty;
     }
     if (LevelImage != null)
     {
         LevelImage.texture = null;
         LevelImage.enabled = false;
     }
 }