Unity: Setup #
This tutorial covers setting up the Pragma SDK for Unity, including initialization, login, and making API calls to the Pragma backend.
Getting started with Pragma requires setting up a free trial process with our team. Reach out via the main site to get started!
SDK Compatibility #
The Pragma SDK has been compatibility tested with the following versions.
| SDK | Verified Versions |
|---|---|
| Unreal Engine | 4.27, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6 |
| Unity | 2021.3.16f1 |
Prerequisites #
- Local Pragma Engine development environment
| 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. |