C# Class PlayerMutter

Inheritance: MonoBehaviour
Exibir arquivo Open project: natewinck/LightsOut

Public Properties

Property Type Description
m_LoseMusic UnityEngine.AudioClip
m_MusicAudioSource UnityEngine.AudioSource
m_MutterAudioSource UnityEngine.AudioSource
m_WinMusic UnityEngine.AudioClip

Public Methods

Method Description
AfterPenalty ( string newState ) : void
Awake ( ) : void
CheckPenalty ( SoundBank, otherSoundBank, Collider other ) : void
CheckWin ( Collider other ) : void
OnIntro ( string oldState ) : void
OnLose ( string oldState ) : void
OnTriggerEnter ( Collider other ) : void
OnWin ( string oldState ) : void
PlayMutter ( SoundBank, otherSoundBank, Collider other ) : void
Start ( ) : void
Update ( ) : void

Method Details

AfterPenalty() public method

public AfterPenalty ( string newState ) : void
newState string
return void

Awake() public method

public Awake ( ) : void
return void

CheckPenalty() public method

public CheckPenalty ( SoundBank, otherSoundBank, Collider other ) : void
otherSoundBank SoundBank,
other Collider
return void

CheckWin() public method

public CheckWin ( Collider other ) : void
other Collider
return void

OnIntro() public method

public OnIntro ( string oldState ) : void
oldState string
return void

OnLose() public method

public OnLose ( string oldState ) : void
oldState string
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

OnWin() public method

public OnWin ( string oldState ) : void
oldState string
return void

PlayMutter() public method

public PlayMutter ( SoundBank, otherSoundBank, Collider other ) : void
otherSoundBank SoundBank,
other Collider
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

m_LoseMusic public_oe property

public AudioClip,UnityEngine m_LoseMusic
return UnityEngine.AudioClip

m_MusicAudioSource public_oe property

public AudioSource,UnityEngine m_MusicAudioSource
return UnityEngine.AudioSource

m_MutterAudioSource public_oe property

public AudioSource,UnityEngine m_MutterAudioSource
return UnityEngine.AudioSource

m_WinMusic public_oe property

public AudioClip,UnityEngine m_WinMusic
return UnityEngine.AudioClip