HKI Core
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
HKI.Core.Audio.ChangePlaylist Class Reference

This MonoBehaviour allows the changing of the playlist on one of the general purpose AudioPlayers. More...

Inheritance diagram for HKI.Core.Audio.ChangePlaylist:

Public Types

enum  AudioPlayerTypes {
  AudioPlayerTypes.Music, AudioPlayerTypes.Ambient, AudioPlayerTypes.Voices, AudioPlayerTypes.FX,
  AudioPlayerTypes.UIFX
}
 

Public Member Functions

void Play ()
 

Private Member Functions

void Start ()
 

Private Attributes

AudioSystem AudioSystem = null
 
AudioPlayerTypes AudioPlayerType = AudioPlayerTypes.Music
 
Playlist Playlist = null
 
bool PlayOnStart = false
 
float PlayInSeconds = 0.0f
 

Detailed Description

This MonoBehaviour allows the changing of the playlist on one of the general purpose AudioPlayers.

Definition at line 8 of file ChangePlaylist.cs.

Member Enumeration Documentation

◆ AudioPlayerTypes

Enumerator
Music 
Ambient 
Voices 
FX 
UIFX 

Definition at line 12 of file ChangePlaylist.cs.

Member Function Documentation

◆ Play()

void HKI.Core.Audio.ChangePlaylist.Play ( )
inline

Definition at line 42 of file ChangePlaylist.cs.

◆ Start()

void HKI.Core.Audio.ChangePlaylist.Start ( )
inlineprivate

Definition at line 33 of file ChangePlaylist.cs.

Member Data Documentation

◆ AudioPlayerType

AudioPlayerTypes HKI.Core.Audio.ChangePlaylist.AudioPlayerType = AudioPlayerTypes.Music
private

Definition at line 24 of file ChangePlaylist.cs.

◆ AudioSystem

AudioSystem HKI.Core.Audio.ChangePlaylist.AudioSystem = null
private

Definition at line 22 of file ChangePlaylist.cs.

◆ PlayInSeconds

float HKI.Core.Audio.ChangePlaylist.PlayInSeconds = 0.0f
private

Definition at line 30 of file ChangePlaylist.cs.

◆ Playlist

Playlist HKI.Core.Audio.ChangePlaylist.Playlist = null
private

Definition at line 26 of file ChangePlaylist.cs.

◆ PlayOnStart

bool HKI.Core.Audio.ChangePlaylist.PlayOnStart = false
private

Definition at line 28 of file ChangePlaylist.cs.


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