Game SDK

↓ Download SDK 1.8.1

Internal VORIVOX development. Candidate package: remaining gates are listed under compatibility.

Practical recipes

Small solutions for common integration tasks.

Last Canvas marker

void OnHit(VorivoxHit hit)
{
    marker.anchoredPosition = hit.ToCanvasLocal(playfield);
    marker.gameObject.SetActive(true);
}

Duplicate shot protection

readonly HashSet<string> processed = new();
void OnHit(VorivoxHit hit)
{
    if (!processed.Add(hit.ShotId)) return;
    ResolveShot(hit);
}

Non-blocking countdown

async Task BeginAsync(VorivoxSessionStart start)
{
    await countdown.ShowAsync(start.CountdownMs);
    round.EnableInput();
}

Focus loss

Wait for session.pause with reason focus_lost; freeze timers and show a neutral system overlay.

Result lighting

await sdk.TriggerLedAsync(points > 0 ? "HIT" : "MISS");

Check sdk.Capabilities.LedOverride before advanced override modes.

Teaching samples are scripts requiring a Unity scene and assigned references. Production needs pause/countdown guards, connection-loss handling, shot_id deduplication and listener disposal. Older samples may require adaptation; complete gameplay is not claimed.