Texture.ExecuteShowAll C# (CSharp) Method

ExecuteShowAll() private method

private ExecuteShowAll ( string userId, string pp ) : IEnumerator
userId string
pp string
return IEnumerator
    IEnumerator ExecuteShowAll(string userId, string pp)
    {
        Debug.Log("Executing ShowAll..");
        WWW www = new WWW (pp);

        while (!www.isDone)
        {
            Debug.Log("Working...");
            yield return null;
        }
        if (www.isDone)
        {
            Debug.Log("Done...");
            if(!FBLeaderBoard.dist.ContainsKey(userId))
            {
                Debug.Log("Finalizing...");
                FBLeaderBoard.dist.Add(userId,www.texture);
            }
        }
    }