-
Access the Wizard from Window → Photon Realtime → Wizard.
-
Click next through the wizard until you get to the Photon Cloud Setup.
-
If you do not already have an account or an App Id, click the Visit Dashboard button to create one. If you created a new account, create a New Application from Photon's Dashboard. Note: The Photon Type for Boss Room is
Photon Realtime
. -
After the Application is setup, you can get its App ID from Photon's Dashboard. Copy the App ID to your clipboard.
Note: This App Id must be shared with other people in order to be able to connect to your Photon Room.
-
In the Photon Wizard Window of your Unity Project, paste the App Id.
-
Click on Setup. You should receive a completion message, for example "Your AppId is now applied to this Project Done".
-
Click Next then Done. Setup is complete and you can safely quit the Photon Wizard.
Once the setup is done, there are two ways you can actually test out is working:
- Launch the Boss Room project using a packaged build.
- Use the Unity Editor, but do that with caution!
With that being said, both ways are almost the same in terms of how you host or join a session.
IMPORTANT! There is a bug in MLAPI at the moment that could prevent users from connecting to each other through the editor.
Note: To reiterate, it is important that all Unity Editor users have the exact same version of the project with no changes locally and their PhotonAppSettings should match with the Host's settings.
If you want to host a session then:
-
Click the Start button.
-
Share the generated room name with your users, and click confirm!
-
Done! You are now in the Lobby - also known as the Character Selection Screen. Your friends/users should be able to join now.
If you want to Join a session then: