v1.2.1
Latest
2020.3+

Interface ILobbyServiceSDKConfiguration

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

Namespace: Unity.Services.Lobbies
Syntax
public interface ILobbyServiceSDKConfiguration

Methods

EnableLocalPlayerLobbyEvents(Boolean)

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
TypeNameDescription
Booleanenabled

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
TypeNameDescription
StringbasePath

The base path to set in configuration.