Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
AlarmClockScenarioAudio Class Reference
Inheritance diagram for AlarmClockScenarioAudio:

Classes

class  AudioClipMap
 This is inside this class so as not to clash with the others - simple key based map like the texture ones More...
 

Public Member Functions

List< string > GetStockAlarmSounds ()
 Get a list of all the sounds in the stock folder More...
 

Static Public Member Functions

static AudioClip LoadAudioClip (string soundName)
 Simplifies the action of loading a texture. More...
 

Public Attributes

const string soundBaseUrl = "Squad/Alarms/Sounds/"
 The default folder for sounds that have no fully qualified path More...
 

Properties

AudioClipMap AlarmSounds [get]
 The sprites for the various alarm types More...
 

Member Function Documentation

List<string> AlarmClockScenarioAudio.GetStockAlarmSounds ( )
inline

Get a list of all the sounds in the stock folder

Returns
List of sound names
static AudioClip AlarmClockScenarioAudio.LoadAudioClip ( string  soundName)
inlinestatic

Simplifies the action of loading a texture.

Parameters
soundNameName of the texture.
Returns
A Unity texture.

Member Data Documentation

const string AlarmClockScenarioAudio.soundBaseUrl = "Squad/Alarms/Sounds/"

The default folder for sounds that have no fully qualified path

Property Documentation

AudioClipMap AlarmClockScenarioAudio.AlarmSounds
get

The sprites for the various alarm types


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