C# Class PlayMusic, TiminesSweeper-3D-

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public AudioClip,UnityEngine mainMusic
return UnityEngine.AudioClip

titleMusic public_oe property

public AudioClip,UnityEngine titleMusic
return UnityEngine.AudioClip

volumeDown public_oe property

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

volumeUp public_oe property

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