Struct AudioListener | Project Tiny | 0.25.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct AudioListener

    Attach an AudioListener component to an entity with a LocalToWorld component. 3d audio panning and distance-attenuation will be calculated relative to this entity's position and orientation.

    Namespace: Unity.Tiny.Audio
    Syntax
    public struct AudioListener : IComponentData
    Remarks

    There should only be one enabled AudioListener. If there are no listeners, all 3d sounds will be silent.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • 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.
    Generated by DocFX on 18 October 2023