docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Holder

    Global access to the default Adaptive Performance interface and lifecycle management controls.

    Inheritance
    object
    Holder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.AdaptivePerformance
    Assembly: Unity.AdaptivePerformance.dll
    Syntax
    public static class Holder

    Properties

    Instance

    Global access to the default Adaptive Performance interface to access the main manager object.

    Declaration
    public static IAdaptivePerformance Instance { get; }
    Property Value
    Type Description
    IAdaptivePerformance

    Methods

    Deinitialize()

    Stops Adaptive Performance (if still running) and initiates the tear down process. Once complete, Instance is no longer available. All Adaptive Performance objects are removed from the scene.

    Declaration
    public static void Deinitialize()

    Initialize()

    Create and attach the Adaptive Performance to the scene and initiate the startup process for the provider. After initialization is complete, Instance is made available.

    Declaration
    public static void Initialize()
    Remarks

    Should only be used when "Initialize on Startup" is disabled.

    Events

    LifecycleEventHandler

    Subscribe to Adaptive Performance lifecycle events which are sent when the Instance value changes.

    Declaration
    public static event LifecycleEventHandler LifecycleEventHandler
    Event Type
    Type Description
    LifecycleEventHandler
    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)