Skip to content

Huddle01/unityWebgl-multiplayer-with-mirror-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

unityWebgl-multiplayer-with-mirror-example

Huddle01 Plugin Integration with Mirror SDK in Unity

This project demonstrates how to integrate the Huddle01 Unity WebGL plugin with the Mirror SDK for multiplayer projects.

Assets Used

Server Build Instructions

  1. Switch Platform: Change the platform to Dedicated Server.
  2. Open Scene: Open the scene Invector_BasicLocomotion.
  3. Disable Components:
    • Disable the GameObject Manager.
    • Disable the MetaverseHuddleCommManager component attached to the Manager GameObject.
  4. Provide Values in Constant.cs:
    • ProjectId
    • ApiKey
    • RoomId
  5. Implement Token Method: Implement the CmdSetHuddleToken method to get a token from the server. Refer to the Huddle01 API Documentation for implementation.
  6. Build: Proceed with the build process.

Client Build Instructions

  1. Switch Platform: Change the platform to WebGL.
  2. Open Scene: Open the scene Invector_BasicLocomotion.
  3. Enable Components:
    • Enable the GameObject Manager.
    • Enable the MetaverseHuddleCommManager component attached to the Manager GameObject.
  4. Build: Proceed with the build process.

For detailed build instructions, refer to the Mirror Networking Documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published