TopDown Engine v4.5
Loading...
Searching...
No Matches
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 {
  Play , PlayNext , PlayPrevious , Stop ,
  Pause , PlaySongAt , SetVolumeMultiplier , ChangePlaylist
}
 sets the inspector color for this feedback More...

Public Attributes

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

Static Public Attributes

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

Protected Member Functions

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

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 )
protected

On Play we change the values of our fog.

Parameters
position
feedbacksIntensity

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:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/MMTools/Feedbacks/MMF_Playlist.cs