Version: 2022.1

ContentBuildInterface.CalculatePlayerDependenciesForGameManagers

切换到手册
public static Build.Content.GameManagerDependencyInfo CalculatePlayerDependenciesForGameManagers (Build.Content.BuildSettings settings, Build.Content.BuildUsageTagGlobal globalUsage, Build.Content.BuildUsageTagSet usageSet);
public static Build.Content.GameManagerDependencyInfo CalculatePlayerDependenciesForGameManagers (Build.Content.BuildSettings settings, Build.Content.BuildUsageTagGlobal globalUsage, Build.Content.BuildUsageTagSet usageSet, Build.Content.BuildUsageCache usageCache);

参数

settings 依赖关系计算的设置。
globalUsage Global usage tag for lighting and fog modes in use in the project.
usageSet 从依赖关系计算生成的输出使用情况标签。
usageCache 可选的缓存对象,用于在多次调用此 API 时提高性能。
mode Specifies how to calculate dependencies between internal Unity game managers and game assets.

返回

GameManagerDependencyInfo The calculated dependencies for internal Unity game manager classes.

描述

Calculates dependency information for various internal Unity game manager classes.

仅限内部使用。请参阅有关 ContentBuildInterface 的注意事项。

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