Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CalculatePlayerDependenciesForScene

Calculates the Scene dependency information.
Read time 1 minuteLast updated 12 days ago

Definition

CalculatePlayerDependenciesForScene(string, BuildSettings, BuildUsageTagSet)

Calculates the Scene dependency information.
public static SceneDependencyInfo CalculatePlayerDependenciesForScene(string scenePath, BuildSettings settings, BuildUsageTagSet usageSet)

Parameters

scenePath

Input path of the Scene for dependency calculation.

Settings for dependency calculation.

Output usage tags generated from dependency calculation.

Returns

Type

Description

SceneDependencyInfoDependency information for the Scene.

Remarks

Internal use only. See note on ContentBuildInterface.

CalculatePlayerDependenciesForScene(string, BuildSettings, BuildUsageTagSet, BuildUsageCache)

Calculates the Scene dependency information.
public static SceneDependencyInfo CalculatePlayerDependenciesForScene(string scenePath, BuildSettings settings, BuildUsageTagSet usageSet, BuildUsageCache usageCache)

Parameters

scenePath

Input path of the Scene for dependency calculation.

Settings for dependency calculation.

Output usage tags generated from dependency calculation.

usageCache

Optional cache object to use for improving performance with multiple calls to this api.

Returns

Type

Description

SceneDependencyInfoDependency information for the Scene.

Remarks

Internal use only. See note on ContentBuildInterface.

CalculatePlayerDependenciesForScene(string, BuildSettings, BuildUsageTagSet, BuildUsageCache, DependencyType)

Calculates the Scene dependency information.
public static SceneDependencyInfo CalculatePlayerDependenciesForScene(string scenePath, BuildSettings settings, BuildUsageTagSet usageSet, BuildUsageCache usageCache, DependencyType mode)

Parameters

scenePath

Input path of the Scene for dependency calculation.

Settings for dependency calculation.

Output usage tags generated from dependency calculation.

usageCache

Optional cache object to use for improving performance with multiple calls to this api.

Specifies how to calculate dependencies between internal scenes and game assets.

Returns

Type

Description

SceneDependencyInfoDependency information for the Scene.

Remarks

Internal use only. See note on ContentBuildInterface.