Adding Voice Chat (Dissonance)¶
You can use the Dissonance plugin in Unity, in order for your users to be able to talk to each other while being in a multiplayer session in MAGES™ SDK. Follow the steps below to install the Dissonance plugin in your Unity MAGES™ SDK project.
Note
Using Dissonance is optional.
Download the Dissonance package. You can find Dissonance in Unity Asset Store, or by clicking this link.
![]()
Import the package you downloaded in step 1, to your Unity MAGES™ SDK project.
Once Dissonance is imported, a window like the following will appear. Choose Photon Unity Networking 2.
Create an empty gameobject under SCENE_MANAGEMENT/Controllers/NetworkController. Name it DissonanceSetup.
![]()
Navigate to the newly created DissonanceSetup gameobject and add the following four components to it.
Dissonance Comms.
Photon Comms Network.
Voice Broadcast Trigger.
Voice Receipt Trigger.
Note
Regarding Voice Broadcast/Receipt Trigger components, you will need to identify the room that will be used. For most of the cases, the Global room is a good choice.
![]()
Dissonance is ready. Next time you will join a multiplayer MAGES™ SDK session, you will be able to speak with the rest of the users.