User Tools

Site Tools


docs:api:getplaysdata

GetPlaysData

public static IEnumerator GetPlaysData(SupabasePreset supabasePreset, string playsTable, System.Action<int> onComplete)

Summary:

  • Fetches the plays table specified on the supabase preset, and returns the total amount of plays as an int.

Requires a WebGLCallbackHandler

Example:

private void Start()
{
    StartCoroutine(LivelyWebGL.Supabase.Tables.Plays.GetPlaysData(supabasePreset, playsTable, (plays)=>
    {
        Debug.Log("Total Unique Players Played: " + plays);
    }));
}
docs/api/getplaysdata.txt · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki