// allow automatic websocket client connection // if cached or preset for development public void tryAutoWebsocketClientConnection() { string cachedIPAddress = GameObject.Find("AppManager").GetComponent <AppManager>().currentSessionIPAddress; Debug.Log("current IP address: " + cachedIPAddress); websocketClient.BeginConnection(cachedIPAddress); }