WeatherMakerSoundScript Fields |
The WeatherMakerSoundScript type exposes the following members.
Name | Description | |
---|---|---|
![]() | AudioClips | The audio clip to play (one is chosen at random) |
![]() | Disabled | Whether this object is disabled (Inherited from WeatherMakerBaseScriptableObjectScript.) |
![]() | DurationRange | How long in seconds to play the sound, for non-looped AudioSource this is ignored, and the entire sound is played. |
![]() | FadeDuration | How long in seconds to fade in and out for looping audio sources. |
![]() | HoursOfDay | The hours in a day the sound can play, or null/empty to just use TimesOfDay. |
![]() | IntervalRange | How long in seconds to wait in between playing the sound. Set to 0 min and max to have no wait and a continous sound. |
![]() | Looping | Whether to loop the audio clip, all clips must be looping or not looping. |
![]() | Name | A name to help you keep track of the ambient sound |
![]() | TimesOfDay | The times of day the sound can play. In order to play HoursOfDay must be empty or must also match. |
![]() | VolumeRange | Range of volume for the ambient sound, a new value is chosen each time the sound is played. |