public Texture2D GetChampionIcon(string id) { byte[] byteArray = File.ReadAllBytes(URLs.GetChampionIcon(id)); Texture2D texture = new Texture2D(2, 2); texture.LoadImage(byteArray); return(texture); }