Class AdaptivePerformanceBuildUtils
Helper utilities for build-time modifications.
Inherited Members
Namespace: UnityEditor.AdaptivePerformance.Editor
Assembly: Unity.AdaptivePerformance.Editor.dll
Syntax
public static class AdaptivePerformanceBuildUtils
Methods
GetWantedStartupBoostSetting(IAdaptivePerformanceSettings)
Get value for boost mode on startup for given settings
Declaration
public static string GetWantedStartupBoostSetting(IAdaptivePerformanceSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| IAdaptivePerformanceSettings | settings |
Returns
| Type | Description |
|---|---|
| string |
UpdateBootConfigBoostSetting(string, string, string)
Add key to boot.config
Declaration
public static void UpdateBootConfigBoostSetting(string path, string bootConfigKey, string wantedSettingValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | Player build path |
| string | bootConfigKey | Key to add or update |
| string | wantedSettingValue | Value for the key |