Quick Started
Quick start guide for using the Leaderboard SDK Unity in Myria
Step 1: Request Developer API Key
- 1 Request API Key
Before you begin, ensure you have an Admin API Key provided by Myria. You can obtain this key by contacting Myria Admin via our official Telegram channel or through the Support Zendesk channel.
- 2 Checkout Unity SDK Open source
You can checkout the Opensource of Leaderboard Unity SDK via the github link or refer the details guide setup for Leaderboard Unity SDK.
Step 2: Set Up Your Game Backend
To integrate the leaderboard SDK, you need to ensure your game has the proper backend services.
For games without backend services: You can take references from the game-services template, which provides a foundational setup for your backend that integrates seamlessly with the Unity SDK.
For games with existing backend services: You can integrate the @myria/leaderboard-ts-sdk
directly into your backend to interact with Myria Leaderboard services.
However, If you plan to use the Developer API Key within the Unity client, you'll need to implement an encryption mechanism in your backend using the encryption method provided by game-services template. This will allow your controller to securely receive the encrypted API key from the client, ensuring the safe handling of sensitive data.
This SDK simplifies the process of managing leaderboards on your server side.
For more detailed examples and guidance on implementing the Myria Leaderboard SDK, refer to our Unity SDK samples on GitHub here. This repository includes practical examples demonstrating how to create, manage, and interact with leaderboards, making it easier for you to integrate leaderboard functionality into your Unity projects.