docs.unity3d.com
    Show / Hide Table of Contents

    Class ProviderSettingsEditor

    This is a custom Editor base for Provider Settings. It displays provider general settings and you can use it to extend provider settings editors to display custom provider settings.

    Inheritance
    Object
    UnityEngine.Object
    UnityEngine.ScriptableObject
    UnityEditor.Editor
    ProviderSettingsEditor
    SimulatorProviderSettingsEditor
    Inherited Members
    UnityEditor.Editor.CreateEditorWithContext(UnityEngine.Object[], UnityEngine.Object, System.Type)
    UnityEditor.Editor.CreateEditorWithContext(UnityEngine.Object[], UnityEngine.Object)
    UnityEditor.Editor.CreateCachedEditorWithContext(UnityEngine.Object, UnityEngine.Object, System.Type, UnityEditor.Editor)
    UnityEditor.Editor.CreateCachedEditorWithContext(UnityEngine.Object[], UnityEngine.Object, System.Type, UnityEditor.Editor)
    UnityEditor.Editor.CreateCachedEditor(UnityEngine.Object, System.Type, UnityEditor.Editor)
    UnityEditor.Editor.CreateCachedEditor(UnityEngine.Object[], System.Type, UnityEditor.Editor)
    UnityEditor.Editor.CreateEditor(UnityEngine.Object)
    UnityEditor.Editor.CreateEditor(UnityEngine.Object, System.Type)
    UnityEditor.Editor.CreateEditor(UnityEngine.Object[])
    UnityEditor.Editor.CreateEditor(UnityEngine.Object[], System.Type)
    UnityEditor.Editor.DrawPropertiesExcluding(UnityEditor.SerializedObject, System.String[])
    UnityEditor.Editor.DrawDefaultInspector()
    UnityEditor.Editor.Repaint()
    UnityEditor.Editor.OnInspectorGUI()
    UnityEditor.Editor.CreateInspectorGUI()
    UnityEditor.Editor.RequiresConstantRepaint()
    UnityEditor.Editor.DrawHeader()
    UnityEditor.Editor.OnHeaderGUI()
    UnityEditor.Editor.ShouldHideOpenButton()
    UnityEditor.Editor.DrawFoldoutInspector(UnityEngine.Object, UnityEditor.Editor)
    UnityEditor.Editor.HasPreviewGUI()
    UnityEditor.Editor.GetPreviewTitle()
    UnityEditor.Editor.RenderStaticPreview(System.String, UnityEngine.Object[], System.Int32, System.Int32)
    UnityEditor.Editor.OnPreviewGUI(UnityEngine.Rect, UnityEngine.GUIStyle)
    UnityEditor.Editor.OnInteractivePreviewGUI(UnityEngine.Rect, UnityEngine.GUIStyle)
    UnityEditor.Editor.OnPreviewSettings()
    UnityEditor.Editor.GetInfoString()
    UnityEditor.Editor.DrawPreview(UnityEngine.Rect)
    UnityEditor.Editor.ReloadPreviewInstances()
    UnityEditor.Editor.UseDefaultMargins()
    UnityEditor.Editor.MoveNextTarget()
    UnityEditor.Editor.ResetTarget()
    UnityEditor.Editor.target
    UnityEditor.Editor.targets
    UnityEditor.Editor.serializedObject
    UnityEditor.Editor.finishedDefaultHeaderGUI
    UnityEngine.ScriptableObject.SetDirty()
    UnityEngine.ScriptableObject.CreateInstance(System.String)
    UnityEngine.ScriptableObject.CreateInstance(System.Type)
    UnityEngine.ScriptableObject.CreateInstance<T>()
    UnityEngine.Object.GetInstanceID()
    UnityEngine.Object.GetHashCode()
    UnityEngine.Object.Equals(System.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
    UnityEngine.Object.Instantiate<T>(T)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
    UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
    UnityEngine.Object.Destroy(UnityEngine.Object)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
    UnityEngine.Object.FindObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfType(System.Type, System.Boolean)
    UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
    UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
    UnityEngine.Object.DestroyObject(UnityEngine.Object)
    UnityEngine.Object.FindSceneObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
    UnityEngine.Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
    UnityEngine.Object.FindObjectOfType(System.Type)
    UnityEngine.Object.FindObjectOfType(System.Type, System.Boolean)
    UnityEngine.Object.ToString()
    UnityEngine.Object.name
    UnityEngine.Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AdaptivePerformance.Editor
    Syntax
    public class ProviderSettingsEditor : Editor, IPreviewable, IToolModeOwner

    Fields

    m_ShowDevelopmentSettings

    Whether the development settings are collapsed or not.

    Declaration
    public bool m_ShowDevelopmentSettings
    Field Value
    Type Description
    Boolean

    m_ShowIndexerSettings

    Whether the indexer settings are collapsed or not.

    Declaration
    public bool m_ShowIndexerSettings
    Field Value
    Type Description
    Boolean

    m_ShowRuntimeSettings

    Whether the runtime settings are collapsed or not.

    Declaration
    public bool m_ShowRuntimeSettings
    Field Value
    Type Description
    Boolean

    m_ShowScalerSettings

    Whether the scaler settings are collapsed or not.

    Declaration
    public bool m_ShowScalerSettings
    Field Value
    Type Description
    Boolean

    Properties

    IsAutoPerformanceModeAvailable

    Controls whether or not the 'AutomaticPerformanceModeEnabled' option is available. Default value is true.

    Declaration
    protected virtual bool IsAutoPerformanceModeAvailable { get; }
    Property Value
    Type Description
    Boolean

    IsBoostAvailable

    Controls whether or not the 'EnableBoostOnStartup' option is available. Default value is true.

    Declaration
    protected virtual bool IsBoostAvailable { get; }
    Property Value
    Type Description
    Boolean

    Methods

    DisplayBaseDeveloperSettings()

    Displays the base developer settings. Requires DisplayBaseSettingsBegin() to be called before and DisplayBaseSettingsEnd() after as serialization is not taken care of.

    Declaration
    public void DisplayBaseDeveloperSettings()

    DisplayBaseIndexerSettings()

    Displays the base indexer settings. Requires the serializedObject to be updated before and applied after as serialization is not taken care of.

    Declaration
    public void DisplayBaseIndexerSettings()

    DisplayBaseRuntimeSettings()

    Displays the base runtime settings. Requires DisplayBaseSettingsBegin() to be called before and DisplayBaseSettingsEnd() after as serialization is not taken care of.

    Declaration
    public void DisplayBaseRuntimeSettings()

    DisplayBaseSettingsBegin()

    Starts the display block of the base settings. Needs to be called if DisplayBaseRuntimeSettings() or DisplayBaseDeveloperSettings() gets called. Needs to be concluded by a call to DisplayBaseSettingsEnd().

    Declaration
    public bool DisplayBaseSettingsBegin()
    Returns
    Type Description
    Boolean

    False if the settings cannot be loaded. Otherwise true.

    DisplayBaseSettingsEnd()

    Ends the display block of the base settings. Needs to be called if DisplayBaseSettingsBegin() is called.

    Declaration
    public void DisplayBaseSettingsEnd()

    DisplayScalerSettings()

    Displays the base scaler settings. Requires the serializedObject to be updated before and applied after as serialization is not taken care of.

    Declaration
    public void DisplayScalerSettings()

    OnEnable()

    Enables Settings Editor and generates the reorderable list to store all profiles in.

    Declaration
    public void OnEnable()
    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