generated from RageAgainstThePixel/upm-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
com.virtualmaker.rpc 1.0.0-preview.2 (#2)
- Added UnityRpcTransportNone - Made UnityRpcTransportWebsocket public - Made UnityRpcTransportWebGL public --------- Co-authored-by: Alon Farchy <[email protected]> Co-authored-by: Alon Farchy <[email protected]>
- Loading branch information
1 parent
fb1a8bc
commit b9befdc
Showing
5 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
VirtualMaker.RPC/Packages/com.virtualmaker.rpc/Runtime/UnityRpcTransportNone.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
using System.Collections.Concurrent; | ||
using UnityEngine; | ||
|
||
namespace VirtualMaker.RPC | ||
{ | ||
public class UnityRpcTransportNone : IUnityRpcTransport | ||
{ | ||
public ConcurrentQueue<string> ReceiveQueue { get; } = new(); | ||
|
||
public void SendMessage(string message) | ||
{ | ||
} | ||
|
||
private void OnMessageInstance(string message) | ||
{ | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
VirtualMaker.RPC/Packages/com.virtualmaker.rpc/Runtime/UnityRpcTransportNone.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters