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
