Skip to content

Commit b595d49

Browse files
ZimM-LostPolygonenlight
authored andcommitted
Fixed broken WebGL build after recent changes
1 parent 5f58306 commit b595d49

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "LoomSDK.Editor",
3+
"references": [],
4+
"includePlatforms": [
5+
"Editor"
6+
],
7+
"excludePlatforms": []
8+
}

UnityProject/Assets/LoomSDK/Source/Editor/LoomSDK.Editor.asmdef.meta

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityProject/Assets/LoomSDK/Source/Runtime/DAppChainClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Loom.Client.Internal.Protobuf;
1010

1111
#if UNITY_WEBGL && !UNITY_EDITOR
12-
using Loom.Internal.UnityAsyncAwaitUtil;
12+
using Loom.Client.Unity.Internal.UnityAsyncAwaitUtil;
1313
#endif
1414

1515
namespace Loom.Client

UnityProject/Assets/LoomSDK/Source/Runtime/RpcClientFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public IRpcClient Create()
3939
if (this.websocketUrl != null)
4040
{
4141
#if UNITY_WEBGL && !UNITY_EDITOR
42-
return new Internal.WebGL.WebSocketRpcClient(this.websocketUrl) { Logger = logger };
42+
return new Unity.Internal.WebGL.WebSocketRpcClient(this.websocketUrl) { Logger = logger };
4343
#else
4444
return new WebSocketRpcClient(this.websocketUrl) { Logger = logger };
4545
#endif

0 commit comments

Comments
 (0)