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

A small script used to power the FeelMMSoundManagerPlaylistManager demo scene More...

Inheritance diagram for MoreMountains.Feel.PlaylistDemo:

Public Attributes

MMSMPlaylistManager PlaylistManager
 the playlist manager to read data on More...
 
MMProgressBar ProgressBar
 a progress bar meant to display the progress of the song currently playing More...
 

Protected Member Functions

virtual void Update ()
 On Update, updates the progress bar and song duration counter More...
 
virtual void UpdateSongName ()
 Updates the song name display More...
 
virtual void OnPlayEvent (int channel)
 When a new song starts to play, we update its name More...
 
virtual void OnEnable ()
 Starts listening for events More...
 
virtual void OnDisable ()
 Stops listening for events More...
 

Detailed Description

A small script used to power the FeelMMSoundManagerPlaylistManager demo scene

Member Function Documentation

◆ OnDisable()

virtual void MoreMountains.Feel.PlaylistDemo.OnDisable ( )
protectedvirtual

Stops listening for events

◆ OnEnable()

virtual void MoreMountains.Feel.PlaylistDemo.OnEnable ( )
protectedvirtual

Starts listening for events

◆ OnPlayEvent()

virtual void MoreMountains.Feel.PlaylistDemo.OnPlayEvent ( int  channel)
protectedvirtual

When a new song starts to play, we update its name

Parameters
channel

◆ Update()

virtual void MoreMountains.Feel.PlaylistDemo.Update ( )
protectedvirtual

On Update, updates the progress bar and song duration counter

◆ UpdateSongName()

virtual void MoreMountains.Feel.PlaylistDemo.UpdateSongName ( )
protectedvirtual

Updates the song name display

Member Data Documentation

◆ PlaylistManager

MMSMPlaylistManager MoreMountains.Feel.PlaylistDemo.PlaylistManager

the playlist manager to read data on

◆ ProgressBar

MMProgressBar MoreMountains.Feel.PlaylistDemo.ProgressBar

a progress bar meant to display the progress of the song currently playing


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