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

A class used to pilot a MMPlaylist More...

Inheritance diagram for MoreMountains.Tools.MMPlaylistRemote:

Public Member Functions

virtual void Play ()
 Plays the playlist More...
 
virtual void Pause ()
 Pauses the current track More...
 
virtual void Stop ()
 Stops the playlist More...
 
virtual void PlayNextTrack ()
 Plays the next track in the playlist More...
 
virtual void PlaySelectedTrack ()
 Plays the track selected in the inspector More...
 
virtual void PlayTrack (int trackIndex)
 Plays the track set in parameters More...
 

Public Attributes

int Channel = 0
 
int TrackNumber = 0
 The track to play when calling PlaySelectedTrack. More...
 
bool PlaySelectedTrackOnTriggerEnter = true
 if this is true, the selected track will be played on trigger enter (if you have a trigger collider on this) More...
 
bool PlaySelectedTrackOnTriggerExit = false
 if this is true, the selected track will be played on trigger exit (if you have a trigger collider on this) More...
 
string TriggerTag = "Player"
 the tag to check for on trigger stuff More...
 
bool PlayButton
 a play test button More...
 
bool PauseButton
 a pause test button More...
 
bool StopButton
 a stop test button More...
 
bool NextButton
 a next track test button More...
 
bool SelectedTrackButton
 a selected track test button More...
 

Protected Member Functions

virtual void OnTriggerEnter (Collider collider)
 On trigger enter, we play the selected track if needed More...
 
virtual void OnTriggerExit (Collider collider)
 On trigger exit, we play the selected track if needed More...
 
virtual void OnTriggerEnter2D (Collider2D collider)
 On trigger enter 2D, we play the selected track if needed More...
 
virtual void OnTriggerExit2D (Collider2D collider)
 On trigger exit 2D, we play the selected track if needed More...
 

Detailed Description

A class used to pilot a MMPlaylist

Member Function Documentation

◆ OnTriggerEnter()

virtual void MoreMountains.Tools.MMPlaylistRemote.OnTriggerEnter ( Collider  collider)
protectedvirtual

On trigger enter, we play the selected track if needed

Parameters
collider

◆ OnTriggerEnter2D()

virtual void MoreMountains.Tools.MMPlaylistRemote.OnTriggerEnter2D ( Collider2D  collider)
protectedvirtual

On trigger enter 2D, we play the selected track if needed

Parameters
collider

◆ OnTriggerExit()

virtual void MoreMountains.Tools.MMPlaylistRemote.OnTriggerExit ( Collider  collider)
protectedvirtual

On trigger exit, we play the selected track if needed

◆ OnTriggerExit2D()

virtual void MoreMountains.Tools.MMPlaylistRemote.OnTriggerExit2D ( Collider2D  collider)
protectedvirtual

On trigger exit 2D, we play the selected track if needed

◆ Pause()

virtual void MoreMountains.Tools.MMPlaylistRemote.Pause ( )
virtual

Pauses the current track

◆ Play()

virtual void MoreMountains.Tools.MMPlaylistRemote.Play ( )
virtual

Plays the playlist

◆ PlayNextTrack()

virtual void MoreMountains.Tools.MMPlaylistRemote.PlayNextTrack ( )
virtual

Plays the next track in the playlist

◆ PlaySelectedTrack()

virtual void MoreMountains.Tools.MMPlaylistRemote.PlaySelectedTrack ( )
virtual

Plays the track selected in the inspector

◆ PlayTrack()

virtual void MoreMountains.Tools.MMPlaylistRemote.PlayTrack ( int  trackIndex)
virtual

Plays the track set in parameters

◆ Stop()

virtual void MoreMountains.Tools.MMPlaylistRemote.Stop ( )
virtual

Stops the playlist

Member Data Documentation

◆ Channel

int MoreMountains.Tools.MMPlaylistRemote.Channel = 0

◆ NextButton

bool MoreMountains.Tools.MMPlaylistRemote.NextButton

a next track test button

◆ PauseButton

bool MoreMountains.Tools.MMPlaylistRemote.PauseButton

a pause test button

◆ PlayButton

bool MoreMountains.Tools.MMPlaylistRemote.PlayButton

a play test button

◆ PlaySelectedTrackOnTriggerEnter

bool MoreMountains.Tools.MMPlaylistRemote.PlaySelectedTrackOnTriggerEnter = true

if this is true, the selected track will be played on trigger enter (if you have a trigger collider on this)

◆ PlaySelectedTrackOnTriggerExit

bool MoreMountains.Tools.MMPlaylistRemote.PlaySelectedTrackOnTriggerExit = false

if this is true, the selected track will be played on trigger exit (if you have a trigger collider on this)

◆ SelectedTrackButton

bool MoreMountains.Tools.MMPlaylistRemote.SelectedTrackButton

a selected track test button

◆ StopButton

bool MoreMountains.Tools.MMPlaylistRemote.StopButton

a stop test button

◆ TrackNumber

int MoreMountains.Tools.MMPlaylistRemote.TrackNumber = 0

The track to play when calling PlaySelectedTrack.

◆ TriggerTag

string MoreMountains.Tools.MMPlaylistRemote.TriggerTag = "Player"

the tag to check for on trigger stuff


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