TimeEntry.playReplay C# (CSharp) Method

playReplay() public method

public playReplay ( int currentlevel ) : void
currentlevel int
return void
    public void playReplay(int currentlevel)
    {
        Debug.Log("timelist guid: " + guid);

        ProgressCircle.SetActive(true);

        //make a get request to database to download corresponding replay file.
        string url = "https://microsoft-apiapp72ef49a46b6242d28d294f2cda80c2cf.azurewebsites.net/api/Replays?fileid="+guid;
        WWW www = new WWW(url);

        Debug.Log(guid);
        StartCoroutine(WaitForRequest(www, currentlevel));
    }