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);
}
}
}