构建聊天频道示例

先决条件: 导入聊天频道示例.

要设置构建聊天频道示例的环境,请完成以下步骤

  1. 打开您的 Unity 项目。

  2. 选择编辑 > 项目设置。选择Vivox 并使用应用程序的凭据更新服务器令牌颁发者令牌密钥字段。

    有关生成凭据的信息,请参阅Unity 包管理器 Vivox 包.

    Note: If a project is bound to the Services page, then you can change the Environment menu to Automatic to automatically pull the project’s credentials from the Unity Dashboard.

  3. .../Samples/Vivox/{Version}/Chat Channel Sample/中的 MainScene 添加到构建设置中。