Version: Unity 6.6 (6000.6)
Language : English
Analyzing AssetBundles
Introduction to content directories

Use content directories to load assets at runtime

Content directories let you build your project’s assets into separate content builds that you ship and load alongside a Player build, which reduces build size and asset duplication. They’re designed to be a replacement for the AssetBundle system, and are compatible with the Addressables package.

Content directories support local content only. To distribute content remotely, or download it after a user installs your application, use the AssetBundle system or build your own distribution mechanism.

Topic Description
Introduction to content directories Understand what content directories are, how they compare to AssetBundles, and when to use them.
Create content directories Define ScriptableObject root assets, which contain the assets of your project to build into a content directory.
Reference content in a content directory Use loadable references to include assets in a content build.
Include scenes in a content build Use loadable references to reference and load scenes from a content directory at runtime.
Load content directories Register a content directory at runtime and access its assets.

Additional resources

Analyzing AssetBundles
Introduction to content directories
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961