docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemovePlayerAsync

    RemovePlayerAsync(string, string)

    Remove a player from a specified Lobby. Async operation.

    Declaration
    Task RemovePlayerAsync(string lobbyId, string playerId)
    Parameters
    Type Name Description
    string lobbyId

    Target Lobby ID to remove player from

    string playerId

    Player ID to remove

    Returns
    Type Description
    Task

    Awaitable task

    Exceptions
    Type Condition
    ArgumentNullException
    LobbyServiceException
    In This Article
    Back to top
    Copyright © 2023 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)