Ejemplo n.º 1
0
    private IEnumerator SendResults()
    {
        string username = AntPrefs.Instance.GetUsername();

        Debug.Log("Attempt to send result: " + platformCont.Result);
        //Leaderboard.Instance.SubmitResult(username, (float)platformCont.Result, platformCont.GetCurrentTspId(), platformCont.GetGeneratorAlgoId(), platformScore);

        string result = null;

        yield return(hsMuellerController.StartPostScoresCoroutine(username, (int)platformCont.Result, platformScore, platformCont.GetCurrentTspName(), platformCont.GetGeneratorAlgoId(), value => result = value));
    }