Skip to content

Audio Zoom Attenuation

This package contains a FollowCameraXZUpdateSystem that updates the position of an entity with a ZoomAttenuatedAudioCameraFollow to the position of an entity with a CameraPositionComponent.

How to use

  • Open a hand placed scene or create a new one.
  • Create a GameObject with Components: Play3DSound AudioSource ZoomAttenuationAudioAuthoring ConvertGameObjectToEntity
  • Set up the Play3DSound with the sounds you want to play.
  • This audio will be playing following the camera position except the Y axis.