浏览代码

Added Staging Guide To the Readme

/main
GitHub 3 年前
当前提交
c250300c
共有 1 个文件被更改,包括 33 次插入9 次删除
  1. 42
      README.md

42
README.md


# Lobby Rooms
**WIP - 6/17/2021 - This project is being shared for internal review, currently there are known issues are around how many requests we post, which is being worked on. We believe this can still serve as a good example of integrating Rooms+Relay together for**
**WIP - 6/17/2021 - This project is being shared for internal review, currently there are known issues are around how many requests we post, which is being worked on. We believe this can still serve as a good example of integrating Rooms+Relay together.**
**Currently running in the cloud-staging environment, more on how to switch to that below**
**If you use this for hackweek, please give us feedback @jacob.lorentzen or @nathaniel.buck**

- Relay Code Generation
- Relay Service Joining
# Staging Guide
**For those who open the project with 177 Errors regarding packages.**
1. Find your Unity Hub executable and run it with --cloudenvironment staging on the end.
(I made a shortcut that does it for me, yes it needs the additional "--" at the end, I dont know why)
From here all the UI is hooked to staging, if you do not have a unity account set up in the staging environment, create a new one with your regular @unity3d.com email.
![Set Staging 1](~Documentation/Images/unityStaging1.PNG?raw=false "Staging Shortcut" )
2. Click the options button on the right side of the cloned lobby-rooms project, select "Advanced Project Settings"
![Set Staging 2](~Documentation/Images/unityStaging2.PNG?raw=false "Advanced Project Settings" )
3. Add "--cloudenvironment staging" to the box, exit and run again.
![Set Staging 3](~Documentation/Images/unityStaging3.PNG?raw=false "Staging Suffix" )
Once you are in the staging environment, the rest of the Tutorials should run correctly as well.
# Service Setup
**Create an organization.**

- In the project, navigate to **Edit => Project Settings => Services**
![Services Editor](~Documentation/Images/services1.PNG?raw=false "Service in Editor" )
![Services Editor](~Documentation/Images/services1.PNG?raw=false "Service in Editor" )
![Services Editor Complete](~Documentation/Images/services2.PNG?raw=false "Service in Editor set up.")
![Services Editor Complete](~Documentation/Images/services2.PNG?raw=false "Service in Editor set up.")
# Rooms:
**COMING SOON, ROOMS API URL**

# Solo Testing
**1. Press Start to enter the Lobby Menu.**
1. Press Start to enter the Lobby Menu.
**2. The Join menu Queries the rooms service for available Lobbies, there wont be any right now.**
2. The Join menu Queries the rooms service for available Lobbies, there wont be any right now.
**3. The Create Menu Lets you make a new Lobby**
3. The Create Menu Lets you make a new Lobby
**4. Enter a Lobby Name of your preference and go!**
4. Enter a Lobby Name of your preference and go!
**5. This is the Lobby, It has a room code for you to share with your friends to allow them to join.**
5. This is the Lobby, It has a room code for you to share with your friends to allow them to join.
**6. TheLobby holds up to 4 players and will pass the Relay code once all the players are ready.**
6. TheLobby holds up to 4 players and will pass the Relay code once all the players are ready.
![Relay Ready!](~Documentation/Images/lobbyViewIP6.PNG?raw=true "Create Menu Name")
正在加载...
取消
保存