{"id":16208008,"url":"https://github.com/coryleach/unityassetcache","last_synced_at":"2025-03-19T08:30:35.487Z","repository":{"id":138391082,"uuid":"209413988","full_name":"coryleach/UnityAssetCache","owner":"coryleach","description":"Utility classes for caching and unloading assets such like textures","archived":false,"fork":false,"pushed_at":"2022-10-04T15:35:41.000Z","size":34,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T05:03:15.225Z","etag":null,"topics":["asset","assets-management","cache","downloader","package","unity","unity3d"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coryleach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-18T22:24:07.000Z","updated_at":"2023-10-07T02:44:51.000Z","dependencies_parsed_at":"2023-04-30T11:00:12.344Z","dependency_job_id":null,"html_url":"https://github.com/coryleach/UnityAssetCache","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnityAssetCache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnityAssetCache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnityAssetCache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryleach%2FUnityAssetCache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coryleach","download_url":"https://codeload.github.com/coryleach/UnityAssetCache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244389642,"owners_count":20444976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asset","assets-management","cache","downloader","package","unity","unity3d"],"created_at":"2024-10-10T10:15:04.573Z","updated_at":"2025-03-19T08:30:35.478Z","avatar_url":"https://github.com/coryleach.png","language":"C#","funding_links":["https://ko-fi.com/coryleach"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.AssetCache 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.AssetCache 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.AssetCache 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.AssetCache 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003e\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/coryleach/UnityPackages/master/Documentation/GameframeFace.gif\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eGameframe.AssetCache 👋\u003c/h1\u003e\n\n\u003c!-- BADGE-START -\u003c!-- BADGE-END --\u003e\n\nLibrary for caching and unloading assets\n\n## Quick Package Install\n\n#### Using UnityPackageManager (for Unity 2019.3 or later)\nOpen the package manager window (menu: Window \u003e Package Manager)\u003cbr/\u003e\nSelect \"Add package from git URL...\", fill in the pop-up with the following link:\u003cbr/\u003e\nhttps://github.com/coryleach/UnityAssetCache.git#1.3.0\u003cbr/\u003e\n\n#### Using UnityPackageManager (for Unity 2019.1 or later)\n\nFind the manifest.json file in the Packages folder of your project and edit it to look like this:\n```js\n{\n  \"dependencies\": {\n    \"com.gameframe.assetcache\": \"https://github.com/coryleach/UnityAssetCache.git#1.3.0\",\n    ...\n  },\n}\n```\n\n\u003c!-- DOC-START --\u003e\n## Usage\n\n```c#\n//Create an asset cache (like a WebTextureCache)\nvar cache = new WebTextureCache();\n\n//Get a cached asset asynchronously\nvar cachedAsset = await cache.GetAsync(url);\n\n//Use the asset\nimage.texture = cachedAsset.Asset;\n\n//Dispose the reference so the cache knows you no longer are using it\ncachedAsset.Dispose();\ncachedAsset = null;\n\n//Clean the cache so all assets with zero references are unloaded\ncache.ClearUnusedAssets();\n```\n\u003c!-- DOC-END --\u003e\n\n## Author\n\n👤 **Cory Leach**\n\n* Twitter: [@coryleach](https://twitter.com/coryleach)\n* Github: [@coryleach](https://github.com/coryleach)\n\n\n## Show your support\nGive a ⭐️ if this project helped you!\n\u003cbr /\u003e\nPlease consider supporting it either by contributing to the Github projects (submitting bug reports or features and/or creating pull requests) or by buying me coffee using any of the links below. Every little bit helps!\n\u003cbr /\u003e\n\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/coryleach)\n\n\n***\n_This README was generated with ❤️ by [Gameframe.Packages](https://github.com/coryleach/unitypackages)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryleach%2Funityassetcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoryleach%2Funityassetcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryleach%2Funityassetcache/lists"}