Version: 2022.2
Method group is Obsolete

BuildAssetBundleOptions.CollectDependencies

切换到手册
Obsolete

描述

包含所有依赖关系。

此脚本遵循对任何资源、游戏对象 或组件的引用,并将它们包含在构建中。

This flag is only taken into account when calling the obsolete BuildPipeline.BuildAssetBundle method. When calling BuildPipeline.BuildAssetBundles this flag is ignored because references are always followed.