docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AdaptivePerformanceBuildUtils

    Helper utilities for build-time modifications.

    Inheritance
    object
    AdaptivePerformanceBuildUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)