public void CloseWebSocket() { if (ws != null && ws.IsAlive) { ws.Close(); } ServerLobbyBehavior.CloseWebSocket(); }
void Awake() { instance = this; }