Unity Game SDKv0.5.1Download SDK
RUEN

Score and result

Live score

Send updates after meaningful gameplay events, not every frame.

await sdk.UpdateScoreAsync(new VorivoxScore(
    score: totalScore,
    shots: shotsFired,
    hits: successfulHits,
    timeLeftMs: Mathf.RoundToInt(timeLeft * 1000f)
));

Final result

await sdk.CompleteAsync(new VorivoxResult(
    status: "completed",
    score: totalScore,
    shots: shotsFired,
    hits: successfulHits,
    durationMs: elapsedMs,
    playerCount: sdk.Manifest.Session.PlayerCount
));

Recommended scoring model

Game typePrimary scoreAdditional metrics
Precision targetSum of ring valuesaverage score, best shot
Rail shootertarget and mission pointspenalties, civilians, time
Huntingvalue of permitted targetsaccuracy, trophies, violations