unity-integrate-voice-chat
Integrate explicitly selected Vivox voice channels with identity, microphone permission, participant controls and lifecycle-safe teardown.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- unity-integrate-voice-chat
- engines
- [ "UNITY" ]
- description
- Integrate explicitly selected Vivox voice channels with identity, microphone permission, participant controls and lifecycle-safe teardown.
02 资源文件 2
- 参考文档agents/openai.yaml271 B
- 参考文档references/voice-lifecycle.md3.0 KB
03 SKILL.md 正文
Unity Integrate Voice Chat
When to use
Build Vivox communication into a selected Unity project. Ordinary game sound effects and mixer authoring remain with unity-build-audio.
Activation and inputs
Run commands/resolve-engine.sh and commands/resolve-skill.sh unity-integrate-voice-chat before edits or tool launches; require effective UNITY, compatibility and permitted output scope. Inspect the installed Vivox SDK, authentication provider, target devices, authorized development environment, channel types, privacy/moderation requirements and transmission policy. Do not create accounts, activate Vivox, obtain tokens or record voice implicitly.
Workflow
- Map initialize/login/channel join/leave/logout to explicit owners. Use server-authorized identity and channel access where required; keep token-signing keys outside the client and all tokens outside reports.
- Handle microphone permission before transmitting. Preserve a usable receive-only or disabled state when permission is denied or devices are unavailable. Make push-to-talk, local microphone mute, local participant mute and moderator actions distinct.
- Register participant, device and connection handlers once for the active login generation. Reconnect and scene transitions must not duplicate UI rows or resurrect an old channel after logout.
- For positional channels, select audible/conversational distances and update rate against game scale and budget. Supply the locally owned actor to the SDK's Unity position API; do not manually repeat the SDK's coordinate conversion.
- On teardown stop transmission, remove owned handlers, leave channels and log out through bounded awaited operations. Ignore stale presentation callbacks while retaining responsibility for late resource cleanup.
Read voice ownership when implementing channels, permissions and devices.
Verification and output
Provide package/channel configuration, permission and device-state transitions, connection/participant lifecycle tests and sanitized evidence. Test denied/revoked permission, unplugged devices, reconnect, duplicate callbacks, scene teardown and each mute scope. Physical capture/playback and spatial intelligibility require consenting participants on real target devices; headless or simulated checks cannot certify audible voice. Mark unavailable SDK/account/device checks blocked/not-run and keep observations under resolved .hephaera/.cache.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.