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 的注意事项。