public static Texture2D GetWebImage(string Url,Vector2 ExpectedSize) { if (!imageLUT.ContainsKey(Url)) { imageLUT[Url] = new WebImageItem(Url,ExpectedSize); } return imageLUT[Url].Texture2d; }
public static Texture2D GetWebImage(string Url, Vector2 ExpectedSize) { if (!imageLUT.ContainsKey(Url)) { imageLUT[Url] = new WebImageItem(Url, ExpectedSize); } return(imageLUT[Url].Texture2d); }