Skip to main content

Overview

A guide to using the Unity-specific SDK for integrating Tudada services in Unity WebGL games.

SDK Version: 0.2.0 (Unity Client: 0.2.0) Last Updated: 2026-06-24 Target Audience: Unity game developers Supported Platforms: iOS, Android Unity Requirements: Unity 2021 or later, WebGL build

Overview​

The Tudada Unity SDK allows you to directly use all Tudada service APIs from Unity WebGL games using C#.

Key Features​

  • C# Native API: Call all APIs using familiar C# code in Unity
  • Singleton Pattern: Easy access via TudadaSDK.Instance
  • Unity Editor Simulation: Test APIs in the editor without a WebGL build
  • Full Type Safety: C# type definitions provided for all APIs
  • Automatic Event Management: Lifecycle and keyboard events handled automatically

Architecture​

Unity C# Game (TudadaSDK.Instance.Login)
↓ [jslib bridge]
TudadaSDK (JavaScript)
↓ [SDK internal processing]
↓ [response]
Unity C# Game (callback execution)