diff --git a/Scripts/Runtime/Core/Settings.cs b/Scripts/Runtime/Core/Settings.cs index 6530b6c..13104ac 100644 --- a/Scripts/Runtime/Core/Settings.cs +++ b/Scripts/Runtime/Core/Settings.cs @@ -7,7 +7,7 @@ public static class Settings public const string QQ_GROUP_LINK = "https://qm.qq.com/cgi-bin/qm/qr?k=KcexYJ9aYwogFXbj2aN0XHH5b2G7ICmd"; public const string EMAIL = "799329256@qq.com"; public const string AUHTOR = "psygame"; - public const string VERSION = "2.4.1"; + public const string VERSION = "2.4.2"; public const string PACKAGE_NAME = "com.psygame.unitywebsocket"; public const string UPM_URL = "https://github.com/psygame/UnityWebSocket.git"; } diff --git a/Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs b/Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs index 43d449f..3a7ffdd 100644 --- a/Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs +++ b/Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs @@ -50,7 +50,7 @@ public WebSocketState ReadyState /// /// run the socket async method on main thread, if you want. /// - public static bool runOnMainThread { get; private set; } = false; + public static bool runOnMainThread { get; set; } = false; #region APIs public WebSocket(string address) diff --git a/package.json b/package.json index 26188b5..868d097 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.psygame.unitywebsocket", "displayName": "UnityWebSocket", - "version": "2.4.1", + "version": "2.4.2", "unity": "2018.3", "description": "The Best Unity WebSocket Plugin for All Platforms.", "keywords": [