In this tutorial you will create a new project, import Dissonance and change some settings required for Dissonance to work properly.
1. Import Dissonance⚓︎
Import the Dissonance asset into the project. This will install two folders into your project:
Assets/Plugins/Dissonance contains the main source code of Dissonance,
Assets/Dissonance will contain any integration packages which you install.
2. Download Integrations⚓︎
When you import a new version of Dissonance a window will pop up with a list of available integrations, you can launch this window again by navigating to
Windows > Dissonance > Download Integrations.
To use Dissonance you must install at a network backend integration - without this Dissonance cannot send anything over the network! Refer to these docs for help on choosing which one to use. Each integration package includes a demo scene, you should run this demo scene once you have installed the package to verify that Dissonance is properly installed and working in your project.
3. Run In Background⚓︎
Multiplayer games need to keep running (and processing network packets) even when the game window does not have focus. To do this navigate to
Edit -> Project Settings -> Player and enable Run In Background.
4. Per Platform Specific Setup⚓︎
Some platforms have special setup requirements, make sure to read the documentation for the platforms you want to work with:
That's all you need to get a project set up and ready for Dissonance. Next, follow the appropriate Quick Start tutorial for the network system you plan to use: