.NET SDK Documentation
Search Results for

    Show / Hide Table of Contents

    Built-in Sample

    The plugin is shipped with a simple example demonstrating the basic concept of using Spatial Audio APIs.

    This example connects the game to the Dolby.io platform, automatically instantiates three bots representing remote participants, and injects their audio into the conference. You can move around in the game to get a feel of how the spatial audio sounds like.

    1. To try out the sample, create a new project using any Unity template.
    2. Install the plugin from the package manager, expand the Samples section, and click on Import. This will copy the sample scene into your project.
    3. Go to the SharedScene assets folder and drag the SharedScene object into the scene list.
    4. Click on App and enter the client access token you acquired from the Dolby.io dashboard.
    5. Under Audio Listener, set Main Camera. This automatically links the main camera movement to the spatial audio placement controls without writing any code.
    6. Play the game. You should hear the sound now. Use WSAD keys to move around and hear the spatial effect.
    • Improve this Doc
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾