Unity SDK
A guide to setting up and using the Playmanity SDK in Unity.
Video Tutorial: Watch on YouTube
Basic Setup with Authorization
Follow these steps to integrate the Playmanity SDK into your Unity project:
Go to the Playmanity Unity SDK GitHub repository.
Download the latest release of the SDK.
Import the downloaded package into your Unity project.
Install the com.unity.nuget.newtonsoft-json
package via the Unity Package Manager.
In your Unity project, create a folder named "Resources" under Assets/
.
Navigate to Assets -> Create -> Playmanity -> Config
to generate a Playmanity configuration file.
Ensure your authentication scene is set as the first scene to load (Build Index 0) in the Build Settings.
You’re all set—start using the Playmanity SDK!
Important Notes
- You must be logged in to the Playmanity website when authorizing in-game.
- Use the
404e1b2b-de1b-4988-8cc8-94239dc482b3
when working in the Unity Editor. - Review the rest of this guide before publishing your game!
Advertisements
Developers are responsible for placing ads in their games. The Playmanity SDK includes an ExampleAD
scene demonstrating a simple ad-display mechanism triggered by a button press. Ads are flexible and can be placed anywhere in your game. However, abusing the advertisement system may result in your game being removed from the platform.
Setup
Place the PlaymanityManager
prefab in the scene immediately following the authorization scene (e.g., your game’s main scene).
Use the PlaymanityManager
script to display an ad by calling InvokeAd(float time)
.
Example Code
using UnityEngine;
public class ExampleAD : MonoBehaviour
{
private PlaymanityManager playmanityManager;
private void Start()
{
// Find the PlaymanityManager in the scene
playmanityManager = FindObjectOfType<PlaymanityManager>();
if (playmanityManager != null)
{
// Attempt to show an ad for 10 seconds
playmanityManager.InvokeAd(10f);
}
}
}
Building Your Game
Before building your game, update the UUID in the Playmanity config file. Replace the test-uuid
with your production UUID, which you can obtain from the support team or your game’s page on the Playmanity website.

Need Help?
If you have any questions or run into issues, open a support ticket on our Discord server, and our team will assist you!