You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ Async image loader with two caching layers for Unity. It supports loading images
8
8
## Features
9
9
10
10
- ✔️ Async loading from **Web** or **Local**`ImageLoader.LoadSprite(imageURL);`
11
+
- ✔️ Load `Texture2D` and `Sprite`
11
12
- ✔️ **Memory** and **Disk** caching - tries to load from memory first, then from disk
12
13
- ✔️ Dedicated thread for disk operations
13
14
- ✔️ Avoids loading same image multiple times simultaneously, task waits for completion the first and just returns loaded image if at least one cache layer activated
@@ -45,14 +46,21 @@ public class SampleImageLoading : MonoBehaviour
45
46
{
46
47
[SerializeField] stringimageURL;
47
48
[SerializeField] Imageimage;
49
+
[SerializeField] Materialmaterial;
48
50
49
51
asyncvoidStart()
50
52
{
51
-
// Loading sprite from web, cached for quick load next time
53
+
// Loading Sprite from web, cached for quick load next time
0 commit comments