Exemplo n.º 1
0
    private IEnumerator PerformMatch(Dictionary <string, object> matchInfo)
    {
        // fake obtaining match results
        yield return(new WaitForSeconds(0.5f));

        Dictionary <string, object> matchResult = new Dictionary <string, object> ();

        matchResult.Add("matchID", m_matchID);
        matchResult.Add("tournamentID", m_tournamentID);
        matchResult.Add("score", "55");

        FuelSDK.SubmitMatchResult(matchResult);

        // return back to multiplayer
        FuelSDK.Launch();
    }