// unity sdk

One backend. Built for Unity.

The official KalmForge Unity package - strongly typed, async-native, with offline queueing built in. Plus a REST API for everything else.

// package

Unity SDK

@kalmforge/unity · Unity 2022 LTS, Unity 6+

KalmForge-1.0.1.unitypackage
Latest stable · v1.0.1
View changelog (v1.0.1)

Quick start

  1. 01
    Install the package
    Download the .unitypackage and double-click it inside your open Unity project. Accept all assets when the import dialog appears.
  2. 02
    Add your project key
    Open Window → KalmForge → Settings and paste your project key from the dashboard. Use the Dev key for local builds and the Live key for shipping builds.
  3. 03
    Initialize on boot
    Add a KalmForgeBootstrap component to your first scene, or call KalmForgeClient.Init() manually from your boot script.
// bootstrap · config · localization · leaderboards
GameBoot.csC#
1using KalmForge;
2using UnityEngine;
3
4public class GameBoot : MonoBehaviour {
5 async void Start() {
6 // Initialize SDK
7 await KalmForgeClient.Init();
8
9 // Pull live config (balance, flags, A/B tests)
10 await KalmForge.Config.FetchAsync();
11 Player.Damage = KalmForge.Config.Get<float>("player.damage", 10f);
12
13 // Localized strings, fully typed
14 var title = KalmForge.Localization.Get("menu.play");
15
16 // Submit a leaderboard score
17 await KalmForge.Leaderboards.Submit("weekly", score: 9842);
18 }
19}
// rest fallback

Prefer to integrate from your own backend or tooling? Every SDK feature is also available via our REST API and webhooks.

// your move

Your next launch
starts here.

Join the studios using KalmForge to ship faster, manage live ops, and treat their backend like a first-class part of the game.