Open
Conversation
Closed
vicancy
reviewed
Jun 3, 2024
| @@ -0,0 +1,34 @@ | |||
| # Unity Multiplayer VR Sample | |||
|
|
|||
| his sample show off how to use [Azure Realtime Transport for Unity](https://github.com/wanlwanl/multiplayer-community-contributions/tree/wanl/transport/Transports/com.community.netcode.transport.azure-realtime) in VR game. | |||
Member
There was a problem hiding this comment.
Suggested change
| his sample show off how to use [Azure Realtime Transport for Unity](https://github.com/wanlwanl/multiplayer-community-contributions/tree/wanl/transport/Transports/com.community.netcode.transport.azure-realtime) in VR game. | |
| This sample shows how to use [Azure Realtime Transport for Unity](https://github.com/wanlwanl/multiplayer-community-contributions/tree/wanl/transport/Transports/com.community.netcode.transport.azure-realtime) in VR game. | |
Member
There was a problem hiding this comment.
This link is not from the azure repo, could we move the transport code into this repo?
|
|
||
| his sample show off how to use [Azure Realtime Transport for Unity](https://github.com/wanlwanl/multiplayer-community-contributions/tree/wanl/transport/Transports/com.community.netcode.transport.azure-realtime) in VR game. | ||
|
|
||
| > This project is based on Meta Oculus's [Unity-UltimateGloveBall](https://github.com/oculus-samples/Unity-UltimateGloveBall) sample, please try to setup and run it first. |
Member
There was a problem hiding this comment.
stick to one commit incase some breaking change happens to the referenced repo?
|
|
||
| ### B. Setup Transport | ||
|
|
||
| 1. Download latest `azure-webpubsub-transport.unitypackage`package from `[Releases](https://github.com/albertxavier100/azure-web-pubsub-transport/releases)`. |
Member
There was a problem hiding this comment.
This release link is from a personal repo, shall we move the code and release into this repo?
| 6. Enter negotiate endpoint. For example, `https://localhost:7172/negotiate` if you use the builtin developing negotiate server. | ||
| 7. Use the `StartServer`, `StartHost` and `StartClient` functions as usually to host a game and have clients connect to it. | ||
|
|
||
| > At this point, you should be able to exchanges data between unity server and client. |
Member
There was a problem hiding this comment.
Suggested change
| > At this point, you should be able to exchanges data between unity server and client. | |
| > At this point, you should be able to exchange data between unity server and client. | |
| 4. Set the `Network Transport` field on the NetworkManager to the `AzureWebPubSubTransport`. | ||
| 5. Enter a room name into the `Room Name` field of the `AzureWebPubSubTransport`. | ||
| 6. Enter negotiate endpoint. For example, `https://localhost:7172/negotiate` if you use the builtin developing negotiate server. | ||
| 7. Use the `StartServer`, `StartHost` and `StartClient` functions as usually to host a game and have clients connect to it. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ken requests to add the demo like it