docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AdaptivePerformanceUIExtension

    Inheritance
    object
    DeviceSimulatorPlugin
    AdaptivePerformanceUIExtension
    Implements
    ISerializationCallbackReceiver
    Inherited Members
    DeviceSimulatorPlugin.OnCreate()
    DeviceSimulatorPlugin.OnDestroy()
    DeviceSimulatorPlugin.deviceSimulator
    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.Simulator.Extension.dll
    Syntax
    public class AdaptivePerformanceUIExtension : DeviceSimulatorPlugin, ISerializationCallbackReceiver

    Properties

    title

    Title for the plug-in UI.

    Declaration
    public override string title { get; }
    Property Value
    Type Description
    string
    Overrides
    DeviceSimulatorPlugin.title

    Methods

    OnAfterDeserialize()

    Implement this method to receive a callback after Unity deserializes your object.

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Implement this method to receive a callback before Unity serializes your object.

    Declaration
    public void OnBeforeSerialize()

    OnCreateUI()

    The VisualElement that this method returns is embedded in the Device Simulator window. If the method returns null, plug-in UI is not embedded.

    Declaration
    public override VisualElement OnCreateUI()
    Returns
    Type Description
    VisualElement
    Overrides
    DeviceSimulatorPlugin.OnCreateUI()

    Implements

    ISerializationCallbackReceiver
    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)