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 | The Adaptive Performance Settings Object |
Returns
Type | Description |
---|---|
string | Returns string 1 if boost on startup is set, 0 otherwise |
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 |