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
    Object
    ScriptableObject
    Editor
    ProviderSettingsEditor
    SimulatorProviderSettingsEditor
    Inherited Members
    Editor.CreateEditorWithContext(Object[], Object, Type)
    Editor.CreateEditorWithContext(Object[], Object)
    Editor.CreateCachedEditorWithContext(Object, Object, Type, Editor)
    Editor.CreateCachedEditorWithContext(Object[], Object, Type, Editor)
    Editor.CreateCachedEditor(Object, Type, Editor)
    Editor.CreateCachedEditor(Object[], Type, Editor)
    Editor.CreateEditor(Object)
    Editor.CreateEditor(Object, Type)
    Editor.CreateEditor(Object[])
    Editor.CreateEditor(Object[], Type)
    Editor.DrawPropertiesExcluding(SerializedObject, String[])
    Editor.DrawDefaultInspector()
    Editor.Repaint()
    Editor.OnInspectorGUI()
    Editor.CreateInspectorGUI()
    Editor.RequiresConstantRepaint()
    Editor.DrawHeader()
    Editor.OnHeaderGUI()
    Editor.ShouldHideOpenButton()
    Editor.DrawFoldoutInspector(Object, Editor)
    Editor.HasPreviewGUI()
    Editor.GetPreviewTitle()
    Editor.RenderStaticPreview(String, Object[], Int32, Int32)
    Editor.OnPreviewGUI(Rect, GUIStyle)
    Editor.OnInteractivePreviewGUI(Rect, GUIStyle)
    Editor.OnPreviewSettings()
    Editor.GetInfoString()
    Editor.DrawPreview(Rect)
    Editor.ReloadPreviewInstances()
    Editor.UseDefaultMargins()
    Editor.Initialize(Object[])
    UnityEditor.Editor.MoveNextTarget()
    Editor.ResetTarget()
    Editor.target
    Editor.targets
    Editor.serializedObject
    Editor.finishedDefaultHeaderGUI
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    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

    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
    Terms of use
    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