- Enter the following command in the
WebScripts~
directory.yarn yarn dev
- Import the sample MVS from Package Manager.
- Add the asset to Addressables.
- Name: PlayerPrefab
- Path: MVS/Common/NetworkPlayer
- Enter the following command in the
MVS/WebScripts
directory.The JavaScript code will be built and output toyarn yarn dev
/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
. - See README to start a signaling server.
- 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 create a group by specifying a name (host start)
- VirtualSpace
- Client can join a group (client join)
- Clients can leave the group (client exit)
- Ability to return to the group selection screen (host stop)
- Ability to reject clients if the number of clients exceeds capacity (reject connection)
- Group selection screen
- Ability to join a group (join host)
- Virtual space
- Another client can join a group (other client join)
- Ability to return to the group selection screen while moving the player (leave host)
- Error notification if the number of clients exceeds capacity (connection rejection)