docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.AdaptivePerformance
    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. Should only be used when "Initialize on Startup" is disabled.

    Declaration
    public static void Initialize()

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023