RCADIA Unity SDK
Integrate your Unity WebGL games with the RCADIA tournament platform in minutes.
Three Lines of Code
RCADIA.Initialize("Your Game Title"); // On game start
RCADIA.ConsumeLive(); // When player dies
RCADIA.SubmitScore(finalScore); // When game ends
That's it. Your game is now tournament-ready.
What the SDK Does
The RCADIA SDK is a simple messenger between your Unity game and the RCADIA platform:
- Initialize - Connects your game to RCADIA when it loads
- ConsumeLive - Notifies the platform when a player dies (for tournament lives)
- SubmitScore - Sends the player's score to the tournament leaderboard
The platform handles all the complex stuff: authentication, tournaments, leaderboards, and payouts. Your game just reports events.
Requirements
- Unity 2021.3 LTS or later
- WebGL build target
- A game to upload to RCADIA
WebGL Template Requirements
For your game to work properly on mobile devices, your WebGL build must follow these guidelines:
Required HTML/CSS for Mobile
- Canvas tabindex: Add
tabindex="-1"to your canvas element for proper input focus - Flexible sizing: Use
width: 100%; height: 100%instead of hardcoded pixel dimensions - Touch handling: Add
touch-action: noneCSS to prevent browser gestures intercepting touches - Expose Unity instance: Set
window.unityInstance = instancefor SDK communication
Games that don't follow these guidelines may be rejected or have issues on mobile devices. See our full template guide for complete details.
Note: Unity WebGL has known limitations on mobile. The New Input System doesn't work reliably on mobile WebGL - use the Legacy Input System for best compatibility.
Support
- Discord: discord.gg/wbP4rmCEPs