{"id":22135719,"url":"https://github.com/litefeel/assetbundledemo","last_synced_at":"2025-09-01T01:18:21.423Z","repository":{"id":74370425,"uuid":"76842873","full_name":"litefeel/assetbundledemo","owner":"litefeel","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-19T08:26:01.000Z","size":7637,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T10:13:49.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litefeel.png","metadata":{"files":{"readme":"README","changelog":null,"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":"2016-12-19T08:25:43.000Z","updated_at":"2016-12-19T08:26:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d20009c-2172-4cb7-a363-e873b5cd5924","html_url":"https://github.com/litefeel/assetbundledemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/litefeel/assetbundledemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litefeel%2Fassetbundledemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litefeel%2Fassetbundledemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litefeel%2Fassetbundledemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litefeel%2Fassetbundledemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litefeel","download_url":"https://codeload.github.com/litefeel/assetbundledemo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litefeel%2Fassetbundledemo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273061121,"owners_count":25038598,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-01T19:16:40.896Z","updated_at":"2025-09-01T01:18:21.402Z","avatar_url":"https://github.com/litefeel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nAssetBundle demo\n----------------\n\nThis is asset bundle demo for Unity 5 which demonstrates what we can do in\nthe new AssetBundle system. Unity 5.0 beta 21 or later is required.\n\nThis Project and its Assets are designed to work with the AssetBundle Manager\nlesson, which can be found on the official Unity \"Learn\" site here:\nhttp://http://unity3d.com/learn/tutorials/modules/intermediate/editor/assetbundles\n\nExplanation\n-----------\n\nThe intent of the asset bundle manager is to provide a high-level API and a set\nof editor utilities to build, test and use asset bundles in a refined workflow,\nrather than using Unity's low-level AssetBundle API directly.\n\nIn this demo, we demonstrate:\n\n- Automatic asset bundle dependency resolving \u0026 loading.\n  Dependencies between asset bundles are tracked in a single \"Manifest\" asset\n  bundle. This manifest holds information about all asset bundles and their\n  dependencies built for a particular target platform. In this way it's possible\n  to automatically resolve dependent asset bundles before the asset bundle itself\n  is downloaded.\n\n- Automatic unloading of asset bundles. When an asset bundle or a dependency\n  thereof is no longer needed, the asset bundle is unloaded.\n\n- Editor simulation. Allows to test the project in editor mode without actually\n  building the assetBundles.\n\n- Optional setup in which all asset bundles are downloaded.\n\n- Build pipeline postprocessor and integration so that building a player builds\n  the asset bundles and puts them into the player data (Default implementation for\n  loading assetbundles from disk on any platform).\n\n- AssetBundle variants. A prioritized list of variants that should be used if the\n  asset bundle with that variant exists, first variant in the list is the most\n  preferred etc.\n\nEditor utilities and High-level API\n-----------------------------------\n\nThe editor utilities are accessible via Assets\u003eAssetBundles menu. The following\nutilities are provided:\n\nSimulation Mode\n    This is used to control asset bundle simulation in the Editor.\n    When simulation mode is enabled, the editor is in play mode and asset\n    bundles are simulated based on the current build target. Asset bundles\n    can be \"used\" as if built and deployed without actually building them.\n    Asset bundle variants are not simulated in simulation mode.\n\nBuild AssetBundles\n    Builds the currently assigned asset bundles for the current target platform.\n    The built asset bundles are placed into \"AssetBundles\" folder on the root\n    of the project. This folder is configurable. Separate subfolders within\n    AssetBundles folder are used for each target platform.\n\nLocal AssetBundle Server\n    A local server is created allowing access to the built asset bundles. The\n    asset bundles can be accessed by any test application that has access to\n    the same local network as the computer that the editor runs on. This allows\n    to test the AssetBundle workflow  of a project without having to actually\n    deploy built asset bundles.\n\nFor more information on the high-level API provided by the asset bundle manager,\nsee explanation in the AssetBundleManager.cs file.\n\nScenes\n------\n\nThere're 4 scenes under Assets/TestScenes folder:\n\nAssetLoader.unity\n    Demonstrates how to load a normal asset from asset bundle.\n    Additional information can be found in LoadAssets.cs script.\n\nSceneLoader.unity\n    Demonstrates how to load a scene from asset bundle.\n    Additional information can be found in LoadScenes.cs script.\n\nVariantLoader.unity\n    Demonstrates how to load variant asset bundle.\n    Additional information can be found in LoadVariants.cs script.\n\n    Asset bundle variants allow to load different version of the same asset\n    depending on user-defined settings. For example, it's possible to\n    configure low-end devices to use low resolution texture and high-end\n    devices to use high resolution texture.\n\n    In the demo, the following resources are built:\n        1. \"My Assets HD\" folder into \"variant/myassets.hd\" asset bundle.\n            This is \"hd\" variant of \"myassets\" asset bundle.\n        2. \"My Assets SD\" folder into \"variant/myassets.sd\" asset bundle.\n            This is \"sd\" variant of \"myassets\" asset bundle.\n        3. \"variant-scene.unity\" into \"variants/variant-scene.unity3d\".\n            This asset bundle contains a scene which uses variant asset bundle:\n            either from \"myassets.hd\" or \"myassets.sd\".\n\n    Assets within variant asset bundles must match across entire family of\n    variants. That is, if one variant provides an asset, all variants must\n    provide some asset with the same name.\n\n    Variant asset bundles always have an extension, which matches with\n    variant name. E.g. \"myassets.hd\" asset bundle is \"hd\" variant of\n    \"myassets\" asset bundle.\n\n    The active variant may be changed in LoadVariants.cs.\n\n    Please also refer to AssetBundleManager.RemapVariantName() to see how to\n    resolve the correct AssetBundle according to the active variant.\n\n    Asset bundle variants may not be simulated in editor.\n\nTanksLoader.unity\n    Demonstrates how to load different variant asset bundles dynamically.\n\n    On iOS this scene works properly only if on-demand resources are disabled.\n\nOn-demand resource and App slicing usage on iOS\n-------------------------------\n\nIn order to demo on-demand resources or app slicing, corresponding option must\nbe enabled in the player settings. No other changes are needed.\n\nAfter loading scene, you should see something like the following in the\nXcode console:\n\n[AssetBundleManager] Requesting bundle iOS through ODR\n[AssetBundleManager] Requesting bundle cube-bundle through ODR\n[AssetBundleManager] Requesting bundle material-bundle through ODR\n\nThe AssetLoader and SceneLoader scenes should result in flying cubes.\n\nThe Variant loader scene should result in different scenes depending on\ndevices: on iPads on should see \"High-res\" text, and \"Low-res\" text otherwise.\nThis scene demonstrates sliced resources that are loaded both on-demand and\nstatically included into initial application bundle.\n\nLicense\n-------\n\nThe project is released by Unity Technologies under the MIT/X11 license; see the\nLICENSE file.\n\nThis means that you pretty much can customize and embed it in any software under\nany license without any other constraints than preserving the copyright and\nlicense information while adding your own copyright and license information.\n\nYou can keep the source to yourself or share your customized version under a\ncompatible license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitefeel%2Fassetbundledemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitefeel%2Fassetbundledemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitefeel%2Fassetbundledemo/lists"}