Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AudioRolloffMode

enumeration

Description

Rolloff modes that a 3D sound can have in an audio source.

Properties

LogarithmicUse this mode when you want a real-world rolloff.
LinearUse this mode when you want to lower the volume of your sound over the distance.
CustomUse this when you want to use a custom rolloff.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答