{"repo":"Furnyr/Dissonity","free":true,"listed":false,"github":"https://github.com/Furnyr/Dissonity","clone":"git clone https://github.com/Furnyr/Dissonity.git","description":"Open-source C# Unity implementation of the Discord Embedded App SDK","language":"C#","stars":56,"topics":["discord","unity","webgl","embedded-app-sdk","discord-activity","csharp","typescript"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"[!NOTE] Looking for version 1? See the v1 branch. About Dissonity is a Unity SDK that allows you to easily make Discord activities! It is a C# implementation of the Embedded App SDK. Example Installation You can also install Dissonity via OpenUPM or with each .unitypackage file found in the Releases tab. 1. Create a new Unity project (Unity 2021.3 or later, Unity 6 recommended) 2. Open the package manager and install the package from this git URL: https://github.com/Furnyr/Dissonity.git?path=/unity#v2 3. Use the pop-up dialog to select a configuration file 4. Set the build platform to Web / WebGL 5. Player settings Resolution and Presentation Set the WebGL template to Dissonity Dissonity is now installed! But you still need to configure a few things: Configuration 1. Open the configuration file in Assets/Dissonity/DissonityConfiguration.cs 2. Set your app id in .ClientId (find it or create a Discord app here) Up and running! If you want to test your activity within Unity: Testing 1. Right-click the hierarchy Dissonity Discord Mock If you run the game in a scene where there's a @DiscordMock object, you will be able to test the activity within Unity, simulating Discord. If there isn't a mock object in the scene, Dissonity will automatically create one. Production Dissonity helps in the process to make the game, but you will still need to host the backend that will serve the activity to Discord and handle authentication. If you're not sure how to continue, read the documentation","default_branch":null,"files":null,"tree":[],"storefront":"/r/Furnyr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Furnyr/Dissonity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}