public PictureData(WebPicData webPic, string[] baseUrls) { this.picType = PictureType.Web; this.Id = webPic.id; this.PackId = webPic.packId; this.FillType = webPic.FillType; this.Extras = new PictureDataExtras(); this.Extras.webPath = PicWebPath.FromWebPic(webPic, baseUrls); this.PicClass = PicClass.Common; }
public void RecycleWebIcon(PicWebPath webPath, Texture2D tex) { this.cacher.Unload(webPath.CacheKey, tex); }