Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMPlaylistSong Class Reference

Public Member Functions

virtual void Initialization ()
 

Public Attributes

AudioSource TargetAudioSource
 the audiosource that contains the audio clip we want to play More...
 
Vector2 Volume = new Vector2(0f, 1f)
 the min (when it's off) and max (when it's playing) volume for this source More...
 
Vector2 InitialDelay = Vector2.zero
 a random delay in seconds to apply, between its RMin and RMax More...
 
Vector2 CrossFadeDuration = new Vector2(2f, 2f)
 a random crossfade duration (in seconds) to apply when transitioning to this song, between its RMin and RMax More...
 
Vector2 Pitch = Vector2.one
 a random pitch to apply to this song, between its RMin and RMax More...
 
float StereoPan = 0f
 the stereo pan for this song More...
 
float SpatialBlend = 0f
 the spatial blend for this song (0 is 2D, 1 is 3D) More...
 
bool Loop = false
 whether this song should loop or not More...
 
bool Playing = false
 whether this song is playing right now or not More...
 
bool Fading = false
 whether this song is fading right now or not More...
 
bool _initialized
 

Member Function Documentation

◆ Initialization()

virtual void MoreMountains.Tools.MMPlaylistSong.Initialization ( )
virtual

Member Data Documentation

◆ _initialized

bool MoreMountains.Tools.MMPlaylistSong._initialized

◆ CrossFadeDuration

Vector2 MoreMountains.Tools.MMPlaylistSong.CrossFadeDuration = new Vector2(2f, 2f)

a random crossfade duration (in seconds) to apply when transitioning to this song, between its RMin and RMax

◆ Fading

bool MoreMountains.Tools.MMPlaylistSong.Fading = false

whether this song is fading right now or not

◆ InitialDelay

Vector2 MoreMountains.Tools.MMPlaylistSong.InitialDelay = Vector2.zero

a random delay in seconds to apply, between its RMin and RMax

◆ Loop

bool MoreMountains.Tools.MMPlaylistSong.Loop = false

whether this song should loop or not

◆ Pitch

Vector2 MoreMountains.Tools.MMPlaylistSong.Pitch = Vector2.one

a random pitch to apply to this song, between its RMin and RMax

◆ Playing

bool MoreMountains.Tools.MMPlaylistSong.Playing = false

whether this song is playing right now or not

◆ SpatialBlend

float MoreMountains.Tools.MMPlaylistSong.SpatialBlend = 0f

the spatial blend for this song (0 is 2D, 1 is 3D)

◆ StereoPan

float MoreMountains.Tools.MMPlaylistSong.StereoPan = 0f

the stereo pan for this song

◆ TargetAudioSource

AudioSource MoreMountains.Tools.MMPlaylistSong.TargetAudioSource

the audiosource that contains the audio clip we want to play

◆ Volume

Vector2 MoreMountains.Tools.MMPlaylistSong.Volume = new Vector2(0f, 1f)

the min (when it's off) and max (when it's playing) volume for this source


The documentation for this class was generated from the following file: