Feel  4.0.1
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMF_Playlist Class Reference

This feedback will let you pilot a MMPlaylist More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_Playlist:
MoreMountains.Feedbacks.MMF_Feedback

Public Types

enum  Modes {
  Modes.Play, Modes.PlayNext, Modes.PlayPrevious, Modes.Stop,
  Modes.Pause, Modes.PlaySongAt, Modes.SetVolumeMultiplier, Modes.ChangePlaylist
}
 sets the inspector color for this feedback More...
 

Public Attributes

Modes Mode = Modes.PlayNext
 the action to call on the playlist More...
 
int SongIndex = 0
 the index of the song to play More...
 
float VolumeMultiplier = 1f
 the volume multiplier to apply More...
 
bool ApplyVolumeMultiplierInstantly = false
 whether to apply the volume multiplier instantly (true) or only when the next song starts playing (false) More...
 
MMSMPlaylist NewPlaylist
 in change playlist mode, the playlist to which to switch to. Only works with MMSMPlaylistManager More...
 
bool ChangePlaylistAndPlay = true
 in change playlist mode, whether or not to play the new playlist after the switch. Only works with MMSMPlaylistManager More...
 

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we change the values of our fog More...
 

Protected Attributes

Coroutine _coroutine
 

Additional Inherited Members

Detailed Description

This feedback will let you pilot a MMPlaylist

Member Enumeration Documentation

◆ Modes

sets the inspector color for this feedback

Enumerator
Play 
PlayNext 
PlayPrevious 
Stop 
Pause 
PlaySongAt 
SetVolumeMultiplier 
ChangePlaylist 

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_Playlist.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On Play we change the values of our fog

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ _coroutine

Coroutine MoreMountains.Feedbacks.MMF_Playlist._coroutine
protected

◆ ApplyVolumeMultiplierInstantly

bool MoreMountains.Feedbacks.MMF_Playlist.ApplyVolumeMultiplierInstantly = false

whether to apply the volume multiplier instantly (true) or only when the next song starts playing (false)

◆ ChangePlaylistAndPlay

bool MoreMountains.Feedbacks.MMF_Playlist.ChangePlaylistAndPlay = true

in change playlist mode, whether or not to play the new playlist after the switch. Only works with MMSMPlaylistManager

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_Playlist.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

◆ Mode

Modes MoreMountains.Feedbacks.MMF_Playlist.Mode = Modes.PlayNext

the action to call on the playlist

◆ NewPlaylist

MMSMPlaylist MoreMountains.Feedbacks.MMF_Playlist.NewPlaylist

in change playlist mode, the playlist to which to switch to. Only works with MMSMPlaylistManager

◆ SongIndex

int MoreMountains.Feedbacks.MMF_Playlist.SongIndex = 0

the index of the song to play

◆ VolumeMultiplier

float MoreMountains.Feedbacks.MMF_Playlist.VolumeMultiplier = 1f

the volume multiplier to apply


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