Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
Sound Class Reference
+ Inheritance diagram for Sound:
+ Collaboration diagram for Sound:

Public Member Functions

AudioClip GetSound ()
 
void Play ()
 
void PlayFadeIn (bool loop)
 
void PlayFadeOut ()
 
void PlayFadeOutAndDelete ()
 

Public Attributes

float volume = 1f
 
AudioClip Clip
 

Private Member Functions

IEnumerator FadeIn (AudioSource _source)
 
IEnumerator FadeOut (AudioSource _source)
 
IEnumerator FadeOutDelete (AudioSource _source)
 

Private Attributes

AudioSource _source
 

Member Function Documentation

◆ FadeIn()

IEnumerator Sound.FadeIn ( AudioSource _source)
private

◆ FadeOut()

IEnumerator Sound.FadeOut ( AudioSource _source)
private

◆ FadeOutDelete()

IEnumerator Sound.FadeOutDelete ( AudioSource _source)
private

◆ GetSound()

AudioClip Sound.GetSound ( )

◆ Play()

void Sound.Play ( )

◆ PlayFadeIn()

void Sound.PlayFadeIn ( bool loop)

◆ PlayFadeOut()

void Sound.PlayFadeOut ( )

◆ PlayFadeOutAndDelete()

void Sound.PlayFadeOutAndDelete ( )

Member Data Documentation

◆ _source

AudioSource Sound._source
private

◆ Clip

AudioClip Sound.Clip

◆ volume

float Sound.volume = 1f

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