Click or drag to resize

WeatherMakerLoopingAudioSource Class

Provides an easy wrapper to looping audio sources with nice transitions for volume when starting and stopping
Inheritance Hierarchy
SystemObject
  DigitalRuby.WeatherMakerWeatherMakerLoopingAudioSource

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class WeatherMakerLoopingAudioSource

The WeatherMakerLoopingAudioSource type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAudioSource
The audio source that is looping
Public propertyDestroyOnStopped
Whether the AudioSource will be destroyed upon stop
Public propertySecondaryVolumeModifier
Secondary volume modifier, clamped to 0 - 1
Public propertyStopping
Is this sound stopping?
Public propertyTargetVolume
The target volume
Public propertyVolumeModifier
Volume modifier, clamped to 0 - 1
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPause
Pause the audio
Public methodPlay
Play this looping audio source
Public methodPlay(Single)
Play this looping audio source
Public methodResume
Resume from a pause
Public methodSetFade
Set new fade in / fade out parameters
Public methodStop
Stop this looping audio source. The sound will fade out smoothly.
Public methodToString (Inherited from Object.)
Public methodUpdate
Update this looping audio source
Top
See Also