docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ILobbyServiceSDKConfiguration

    Interface used for editing the configuration of the lobby service SDK. Primary usage is for testing purposes.

    Namespace: Unity.Services.Lobbies
    Assembly: Unity.Services.Lobbies.dll
    Syntax
    public interface ILobbyServiceSDKConfiguration

    Methods

    EnableLocalPlayerLobbyEvents(bool)

    Configures the SDK's behavior for lobby events generated by the local player. If enabled, events generated by the local player's updates will trigger callbacks the same way other players' updates do. If disabled, events generated by the local player's updates will be handled silently. This is disabled by default if no value has been set by the user.

    Declaration
    void EnableLocalPlayerLobbyEvents(bool enabled)
    Parameters
    Type Name Description
    bool enabled

    Whether or not to enable lobby event callbacks for updates made by the local player.

    SetBasePath(string)

    Sets the base path in configuration.

    Declaration
    void SetBasePath(string basePath)
    Parameters
    Type Name Description
    string basePath

    The base path to set in configuration.

    In This Article
    • Methods
      • EnableLocalPlayerLobbyEvents(bool)
      • SetBasePath(string)
    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)