Skip to content

Commit d9c1255

Browse files
author
yinlong
committed
v2.4.1
- 移除非WebGL平台 LOG 问题
1 parent a42e600 commit d9c1255

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Scripts/Runtime/Core/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public static class Settings
77
public const string QQ_GROUP_LINK = "https://qm.qq.com/cgi-bin/qm/qr?k=KcexYJ9aYwogFXbj2aN0XHH5b2G7ICmd";
88
public const string EMAIL = "799329256@qq.com";
99
public const string AUHTOR = "psygame";
10-
public const string VERSION = "2.4.0";
10+
public const string VERSION = "2.4.1";
1111
public const string PACKAGE_NAME = "com.psygame.unitywebsocket";
1212
public const string UPM_URL = "https://github.com/psygame/UnityWebSocket.git";
1313
}

Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ private void HandleError(Exception exception)
397397
OnError?.Invoke(this, new ErrorEventArgs(exception.Message));
398398
}
399399

400-
[System.Diagnostics.Conditional("UNITY_EDITOR")]
400+
[System.Diagnostics.Conditional("UNITYWEBSOCKET_NOWEBGL_LOG")]
401401
private void Log(string msg)
402402
{
403403
UnityEngine.Debug.Log($"<color=yellow>[UnityWebSocket]</color>" +

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.psygame.unitywebsocket",
33
"displayName": "UnityWebSocket",
4-
"version": "2.4.0",
4+
"version": "2.4.1",
55
"unity": "2018.3",
66
"description": "The Best Unity WebSocket Plugin for All Platforms.",
77
"keywords": [

0 commit comments

Comments
 (0)