FlightKit
Awesome Flight Simulator Kit
FlightKit.MusicController Class Reference

Starts, stops and pauses music playback. More...

Inheritance diagram for FlightKit.MusicController:

Public Member Functions

virtual void Pause ()
 
virtual void UnPause ()
 

Public Attributes

AudioSource menu
 Music during main menu. More...
 
AudioSource gameplay
 Music during in-level gameplay. More...
 
bool playOnStart = true
 Should the music be started when the game starts? More...
 
bool changeMusicOnTakeOff = true
 Should the music be changed from menu to gameplay? More...
 

Detailed Description

Starts, stops and pauses music playback.

Member Data Documentation

bool FlightKit.MusicController.changeMusicOnTakeOff = true

Should the music be changed from menu to gameplay?

AudioSource FlightKit.MusicController.gameplay

Music during in-level gameplay.

AudioSource FlightKit.MusicController.menu

Music during main menu.

bool FlightKit.MusicController.playOnStart = true

Should the music be started when the game starts?


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