private void OnGUI() { if (this.m_ShowGUI) { if (this.m_HostWasShutdown) { this.OnGUIHost(); } else if (this.m_DisconnectedFromHost && (this.m_OldServerConnectionId != -1)) { this.OnGUIClient(); } } }