docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DotsPlayerSettingsProvider

    Base class for creating an Entities player asset in the Assets folder.

    Inheritance
    object
    DotsPlayerSettingsProvider
    Namespace: Unity.Entities.Build
    Assembly: Unity.Entities.Build.dll
    Syntax
    public abstract class DotsPlayerSettingsProvider

    Fields

    Name Description
    m_SettingsOverride

    Properties

    Name Description
    Importance

    Importance of the asset compared with other potential assets of the same player type.

    Methods

    Name Description
    DoGetSettingAsset()

    Returns the settings object for this provider.

    DoReloadAsset()

    Forcibly reload the setting asset from disk. Concrete class can implement their own restoring strategy.

    GetExtraBuildOptions()

    Provides additional BuildOptions to the player build.

    GetExtraScriptingDefines()

    Provides extra scripting defines to add into the player build.

    GetPlayerSettingGUID()

    Returns the GUID of the asset.

    GetPlayerType()

    Return the PlayerType of the asset (Client or Server).

    GetSettingAsset()

    Returns the settings object for this provider.

    OnActivate(PlayerType, VisualElement)

    Create the UI of the asset in the project settings window.

    ReloadAsset(IEntitiesPlayerSettings)
    SetSettingAsset(IEntitiesPlayerSettings)

    Override the settings object defined by this provider.

    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)