Docs
/Docs
Ctrl K
GitHubDashboard
IntroductionQuick StartInstallationConfigurationSelf-Hosting Guide
Unity SDK(soon)
Unreal SDK(soon)
Godot SDK(soon)
Web SDK
Mobile SDKs(soon)
Authentication(soon)
Player DataCloud Save
Leaderboards(soon)
Economy
Analytics(soon)
Remote Config
Push Notifications(soon)
Friends and Social(soon)
AB Testing(soon)
Player Segments(soon)
REST API
Authentication(soon)
Error CodesRate Limits
Webhooks(soon)
Migrating from Other Services(soon)
Best Practices(soon)
Security(soon)
Testing(soon)

Need help?

Join our Discord community for support and updates.

Join Discord
Docs/SDKs/Unity

Unity SDK

Full-featured SDK with Editor integration, async/await support, and automatic serialization for Unity 2020.3+.

v2.1.0
Download SDKGitHub
Requirements: Unity 2020.3 LTS or newer. Supports Windows, macOS, Linux, iOS, Android, and WebGL.

Installation

Via Unity Package Manager (Recommended)
  1. 1.Open Unity and go to Window → Package Manager
  2. 2.Click the + button and select Add package from git URL
  3. 3.Enter the following URL:
https://github.com/ondara/unity-sdk.git

Features

Editor Dashboard

Full dashboard embedded in Unity Editor using UI Toolkit. View and edit data without leaving Unity.

Async/Await Support

Modern C# async/await patterns for all API calls. No more callback hell.

Automatic Serialization

Save and load any C# object. We handle JSON serialization automatically.

Offline Mode

Keep playing without internet. Changes sync automatically when back online.

Real-time Events

Subscribe to changes in player data, leaderboards, and more with C# events.

Editor Tools

Test authentication, view player data, and debug API calls directly in the editor.

Unity Editor Dashboard

Our Unity SDK includes a full dashboard embedded in the Unity Editor using UI Toolkit. View player data, test authentication, manage leaderboards, and more without leaving Unity.

Learn about Editor Integration

Code Examples

1using Ondara;
2using UnityEngine;
3
4public class OndaraInitializer : MonoBehaviour
5{
6 [SerializeField] private string apiKey;
7
8 async void Awake()
9 {
10 // Initialize Ondara (do this once at game start)
11 var result = await Ondara.Initialize(apiKey);
12
13 if (result.IsSuccess)
14 {
15 Debug.Log("Ondara ready!");
16 }
17 else
18 {
19 Debug.LogError($"Failed to initialize: {result.Error}");
20 }
21 }
22}

API Reference

Ondara

Main entry point and initialization

Ondara.Auth

Authentication methods

Ondara.PlayerData

Key-value player data storage

Ondara.CloudSave

Save game management

Ondara.Leaderboards

Leaderboard operations

Ondara.Economy

Currency and inventory

Ondara.Analytics

Event tracking

Ondara.RemoteConfig

Remote configuration

Quick StartEditor Integration