Unity logo Unity Documentation
  • Unity Docs Home
  • Unity Editor Manual
  • Unity Gaming Services Docs
  • Unity Gaming Services REST API Docs
Learning
  • Blog
  • Forums
  • Answers
  • Customer Service
  • Knowledge Base
  • Technical Support
  • Consulting Services
  • Asset Store
  • Connect
  • Dashboard
  • Distribute
  • Forum
  • Learn
概述
帐户
Authentication
多人游戏
Game Server HostingLobbyMatchmakerRelay
内容管理
Cloud CodeCloud Content DeliveryCloud SaveRemote Config用户生成的内容
DevOps
Build AutomationVersion Control
Analytics 与玩家参与度
AnalyticsGame Overrides推送通知
社区
好友排行榜ModerationVivox
崩溃报告
Cloud Diagnostics
Economy应用内购
参考
解决方案
  • 概述
  • 开始使用
  • 定价与计费
  • 概念
  • 版本
  • 运营
  • 社区
    • 好友
    • 排行榜
    • Moderation
    • Vivox
      • Overview
      • Get started
      • SDK 16.0.0 upgrade guide
      • Concepts
        • Supported platforms and versions
        • Integration with the Vivox Unity SDK
        • Acoustic echo cancellation
        • Client SDK basics
        • Android app development
        • In-game audio control
        • Audio source integration
        • Channels
        • Messaging
        • Muting
          • Mute a user's microphone
          • Mute other users for a specific user
          • Block functions
        • Text-to-speech
        • Speech-to-text
        • Transmission
        • Troubleshooting
        • Vivox SDK error codes
      • Tutorials
      • Reference
      • Privacy and consent
  • 多人游戏
  • 发行说明
  1. 社区
  2. Vivox
  3. Concepts
  4. Muting
  5. Block functions

屏蔽功能

Vivox SDK 提供屏蔽功能,允许用户在其所属的任何频道中阻止自己被特定用户听到或听到特定用户。

屏蔽功能由 VivoxService.Instance.BlockPlayerAsync(string PlayerId) 和 VivoxService.Instance.UnblockPlayerAsync(string PlayerId) 函数进行管理。PlayerId 位于表示每个频道中的每个玩家的 VivoxParticipant 构造内。

  • 屏蔽功能
Unity logo Documentation
Copyright © 2025 Unity Technologies
  • Legal
  • Privacy Policy
  • Terms Of Use
  • 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.