{"repo":"IvanMurzak/Unity-ImageLoader","free":true,"listed":false,"github":"https://github.com/IvanMurzak/Unity-ImageLoader","clone":"git clone https://github.com/IvanMurzak/Unity-ImageLoader.git","description":"Asynchronous image loading from remote or local destination. It has two layers of configurable cache system: RAM and Disk.","language":"C#","stars":213,"topics":["unity","unity-2d","unity-engine","unity-package","unity-plugin"],"license":"MIT","category":"game-templates","readme_excerpt":"Unity Image Loader Async image loader with two caching layers for Unity. It supports loading images from web or local paths and provides memory and disk caching to optimize performance. The package includes features for automatic image setting, cancellation handling, error handling, and lifecycle management. Wait for image get loaded then set: Don't wait, use callback to set loaded image later: Use callback to set image and still wait for the completion: Features - ✔️ Async loading from Web or Local ImageLoader.LoadSprite(imageURL); - ✔️ Memory and Disk caching - tries to load from memory first, then from disk - ✔️ Dedicated thread for disk operations - ✔️ Supports loading of Texture2D and Sprite - ✔️ Avoids loading same image multiple times simultaneously, a new load task waits for completion of existed task - ✔️ Uses UnityWebRequest to load data which works smooth across all platforms including WebGL - ✔️ Cache supported on at WebGL . Memory cache works, Disk cache isn't allowed by the platform - ✔️ Set into Image ImageLoader.LoadSprite(imageURL).Consume(image); - ✔️ Set into RawImage ImageLoader.LoadSprite(imageURL).Consume(rawImage); - ✔️ Set into Material ImageLoader.LoadSprite(imageURL).Consume(\" MainTex\", material); - ✔️ Set into SpriteRenderer ImageLoader.LoadSprite(imageURL).Consume(spriteRenderer); - ✔️ Set into anything - ✔️ Cancellation ImageLoader.LoadSprite(imageURL).Cancel(); - ✔️ Cancellation callback ImageLoader.LoadSprite(imageURL).Cancelled(() = ...); - ✔️ ","default_branch":null,"files":null,"tree":[],"storefront":"/r/IvanMurzak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IvanMurzak/Unity-ImageLoader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}