docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BlockPlayerAsync

    BlockPlayerAsync(string)

    "Block" a player, bidirectionally muting audio/text between that player and the local user.

    Declaration
    Task BlockPlayerAsync(string playerId)
    Parameters
    Type Name Description
    string playerId

    The PlayerId to bidirectionally mute or unmute

    Returns
    Type Description
    Task

    Task for the operation

    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)