public void JoinSyncSession() { int result; #if UNITY_WEBGL && !UNITY_EDITOR result = SocketIOJSLib.JoinSyncSession(); #else result = socketSim.JoinSyncSession(); #endif if (result != SocketIOJSLib.SUCCESS) { connectionAdapter.DisplaySocketIOAdapterError("JoinSyncSession failed."); } }