docs.unity.cn
    Show / Hide Table of Contents

    Class DotsGlobalSettings

    Base class for accessing Dots project settings.

    Inheritance
    Object
    DotsGlobalSettings
    Namespace: Unity.Entities.Build
    Syntax
    public class DotsGlobalSettings

    Properties

    Name Description
    ClientProvider

    The client player settings provider.

    Instance

    The DotsGlobalSettings instance.

    ServerProvider

    The server player settings provider.

    Methods

    Name Description
    GetClientGUID()

    Gets the GUID of the Client asset.

    GetClientSettingAsset()

    Gets the Client Setting asset.

    GetPlayerType()

    Returns the DotsGlobalSettings.PlayerType Client or Server based on if a dedicated server platform is selected in the build settings or not.

    GetServerGUID()

    Gets the GUID of the Server asset.

    GetServerSettingAsset()

    Gets the Server Setting asset.

    GetSettingsAsset(Hash128)

    Gets the IEntitiesPlayerSettings settings asset corresponding to the guid.

    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