-
Enter the following command in the
WebScripts~
directory.yarn yarn dev
-
Import the sample MVS from Package Manager.
-
Enter the following command in the
MVS/WebScripts~
directory.yarn yarn dev
The JavaScript code will be built and output to
/Assets/WebTemplates/Dev
. -
Open
Build Settings
and change the platform toWebGL
. -
Select
Dev
fromPlayer Settings > Resolution and Presentation > WebGL Template
. -
Add all scenes in MVS to
Scenes In Build
. -
Start a Messaging Server by running the command below in
MessagingServer~
directory.docker compose up -d
-
Play
- Native
- Open multiple Unity editors using ParrelSync.
- Run
- Scene: MVS/App/App
- WebGL
- See README to run WebGL application in local environment.
- Native
- Group selection screen
- Ability to join a group by specifying a name with host role selected (join group)
- Ability to list groups with client role selected (list groups)
- Ability to return to title screen (dispose messaging client)
- VirtualSpace
- Clients can join the group (client joins)
- Clients can leave the group (client leaves)
- Ability to send text by both SEND1 and SEND2 button (send text chat from different 2 messaging clients)
- Ability to see received text (receive text chat)
- Ability to return to group selection screen with client role selected (leave group)
- Join as a fifth client by starting a third sample application (joining approval rejected )
- join and then shut down the messaging server (unexpected leave)
- Join after shutting down the messaging server (connection exception)