Unity: Setup #
SDKs are provided to ease integration between your game and Pragma Engine. This guide covers setting up and logging into the engine using the Unity SDK.
This tutorial uses Unity 2021.3 and can be run against either a new Unity project or a preexisting one.
Prerequisites:
Pragma Engine, Postman, and IntelliJ must be installed.
Rider, Visual Studio, and VS Code are recommended for working in Unity. Rider requires no additional setup, while Visual Studio and VS Code require some setup.
Topic | Description |
---|---|
Set Up Unity Project | Set up your Unity project. |
Set Up the Unity SDK | Set up your development environment and the Pragma SDK for Unity. |
Create Initial Files and Objects | Create initial resources. |
Initialize Pragma Services | Initialize Pragma services in Unity. |
Authenticate with Steam | Import Steamworks.NET, get a Steam Web API key and App ID, and log into Pragma Engine with Steam. |
Invite Steam Friends | Creating a Pragma Engine party and inviting friends to join via Steam. |
Authenticate with Discord | Import the Discord SDK into Unity, get a Client ID and Client Secret, and log in to Pragma Engine with Discord. |