docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LeaderboardsSettingsProvider

    Inheritance
    object
    SettingsProvider
    EditorGameServiceSettingsProvider
    LeaderboardsSettingsProvider
    Inherited Members
    EditorGameServiceSettingsProvider.GenerateProjectSettingsPath(string)
    EditorGameServiceSettingsProvider.GenerateUnsupportedDetailUI()
    SettingsProvider.OnDeactivate()
    SettingsProvider.HasSearchInterest(string)
    SettingsProvider.OnGUI(string)
    SettingsProvider.OnTitleBarGUI()
    SettingsProvider.OnFooterBarGUI()
    SettingsProvider.OnInspectorUpdate()
    SettingsProvider.Repaint()
    SettingsProvider.PopulateSearchKeywordsFromGUIContentProperties<T>()
    SettingsProvider.GetSearchKeywordsFromGUIContentProperties<T>()
    SettingsProvider.GetSearchKeywordsFromSerializedObject(SerializedObject)
    SettingsProvider.GetSearchKeywordsFromPath(string)
    SettingsProvider.label
    SettingsProvider.settingsPath
    SettingsProvider.scope
    SettingsProvider.keywords
    SettingsProvider.guiHandler
    SettingsProvider.titleBarGuiHandler
    SettingsProvider.footerBarGuiHandler
    SettingsProvider.activateHandler
    SettingsProvider.deactivateHandler
    SettingsProvider.hasSearchInterestHandler
    SettingsProvider.inspectorUpdateHandler
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Leaderboards.Settings
    Assembly: Unity.Services.Leaderboards.Editor.dll
    Syntax
    public class LeaderboardsSettingsProvider : EditorGameServiceSettingsProvider

    Constructors

    LeaderboardsSettingsProvider(SettingsScope)

    Declaration
    public LeaderboardsSettingsProvider(SettingsScope scopes)
    Parameters
    Type Name Description
    SettingsScope scopes

    Properties

    Description

    Description of the service that will be displayed in the Project Settings

    Declaration
    protected override string Description { get; }
    Property Value
    Type Description
    string
    Overrides
    Unity.Services.Core.Editor.EditorGameServiceSettingsProvider.Description

    EditorGameService

    Editor game service for these project settings

    Declaration
    protected override IEditorGameService EditorGameService { get; }
    Property Value
    Type Description
    IEditorGameService
    Overrides
    Unity.Services.Core.Editor.EditorGameServiceSettingsProvider.EditorGameService

    Title

    Title of the service that will be displayed in the Project Settings

    Declaration
    protected override string Title { get; }
    Property Value
    Type Description
    string
    Overrides
    Unity.Services.Core.Editor.EditorGameServiceSettingsProvider.Title

    Methods

    CreateSettingsProvider()

    Declaration
    [SettingsProvider]
    public static SettingsProvider CreateSettingsProvider()
    Returns
    Type Description
    SettingsProvider

    GenerateServiceDetailUI()

    Builds and return the Services specific UI as a Visual Element

    Declaration
    protected override VisualElement GenerateServiceDetailUI()
    Returns
    Type Description
    VisualElement

    Return the parent node for this settings' detail UI.

    Overrides
    Unity.Services.Core.Editor.EditorGameServiceSettingsProvider.GenerateServiceDetailUI()

    OnActivate(string, VisualElement)

    Use this function to implement a handler for when the user clicks on the Settings in the Settings window. You can fetch a settings Asset or set up UIElements UI from this function.

    Declaration
    public override void OnActivate(string searchContext, VisualElement rootElement)
    Parameters
    Type Name Description
    string searchContext

    Search context in the search box on the Settings window.

    VisualElement rootElement

    Root of the UIElements tree. If you add to this root, the SettingsProvider uses UIElements instead of calling SettingsProvider.OnGUI to build the UI. If you do not add to this VisualElement, then you must use the IMGUI to build the UI.

    Overrides
    SettingsProvider.OnActivate(string, VisualElement)
    In This Article
    Back to top
    Copyright © 2024 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)