CalculatePlayerDependenciesForScene
Calculates the Scene dependency information.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor
CalculatePlayerDependenciesForScene(string, BuildSettings, BuildUsageTagSet)
Calculates the Scene dependency information.
public static SceneDependencyInfo CalculatePlayerDependenciesForScene(string scenePath, BuildSettings settings, BuildUsageTagSet usageSet)
Parameters
Input path of the Scene for dependency calculation.
Settings for dependency calculation.
Output usage tags generated from dependency calculation.
Returns
Type | Description |
|---|---|
| SceneDependencyInfo | Dependency 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
Input path of the Scene for dependency calculation.
Settings for dependency calculation.
Output usage tags generated from dependency calculation.
Optional cache object to use for improving performance with multiple calls to this api.
Returns
Type | Description |
|---|---|
| SceneDependencyInfo | Dependency 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
Input path of the Scene for dependency calculation.
Settings for dependency calculation.
Output usage tags generated from dependency calculation.
Optional cache object to use for improving performance with multiple calls to this api.
Returns
Type | Description |
|---|---|
| SceneDependencyInfo | Dependency information for the Scene. |
Remarks
Internal use only. See note on ContentBuildInterface.