C# Class PlayMusic, TiminesSweeper-3D-

Inheritance: MonoBehaviour
Show file Open project: tim-hub/TiminesSweeper-3D- Class Usage Examples

Public Properties

Property Type Description
mainMusic UnityEngine.AudioClip
titleMusic UnityEngine.AudioClip
volumeDown UnityEngine.Audio.AudioMixerSnapshot
volumeUp UnityEngine.Audio.AudioMixerSnapshot

Public Methods

Method Description
Awake ( ) : void
FadeDown ( float fadeTime ) : void
FadeUp ( float fadeTime ) : void
PlayLevelMusic ( ) : void
PlaySelectedMusic ( int musicChoice ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

FadeDown() public method

public FadeDown ( float fadeTime ) : void
fadeTime float
return void

FadeUp() public method

public FadeUp ( float fadeTime ) : void
fadeTime float
return void

PlayLevelMusic() public method

public PlayLevelMusic ( ) : void
return void

PlaySelectedMusic() public method

public PlaySelectedMusic ( int musicChoice ) : void
musicChoice int
return void

Property Details

mainMusic public property

public AudioClip,UnityEngine mainMusic
return UnityEngine.AudioClip

titleMusic public property

public AudioClip,UnityEngine titleMusic
return UnityEngine.AudioClip

volumeDown public property

public AudioMixerSnapshot,UnityEngine.Audio volumeDown
return UnityEngine.Audio.AudioMixerSnapshot

volumeUp public property

public AudioMixerSnapshot,UnityEngine.Audio volumeUp
return UnityEngine.Audio.AudioMixerSnapshot