C# Class BGMusic, STR

Inheritance: MonoBehaviour
Mostra file Open project: jamiehenson/STR Class Usage Examples

Public Properties

Property Type Description
audioplayer UnityEngine.AudioSource

Public Methods

Method Description
PlayAmbientTrack ( ) : void
PlayBoom ( bool boss ) : void
PlayBossFire ( ) : void
PlayBossTrack ( ) : void
PlayRandomTrack ( ) : void
PlayShot ( string shotname ) : void
PlayTrack ( string trackname ) : void
Start ( ) : void

Private Methods

Method Description
PlayClipAt ( AudioClip clip, Vector3 pos, float vol ) : AudioSource

Method Details

PlayAmbientTrack() public method

public PlayAmbientTrack ( ) : void
return void

PlayBoom() public method

public PlayBoom ( bool boss ) : void
boss bool
return void

PlayBossFire() public method

public PlayBossFire ( ) : void
return void

PlayBossTrack() public method

public PlayBossTrack ( ) : void
return void

PlayRandomTrack() public method

public PlayRandomTrack ( ) : void
return void

PlayShot() public method

public PlayShot ( string shotname ) : void
shotname string
return void

PlayTrack() public method

public PlayTrack ( string trackname ) : void
trackname string
return void

Start() public method

public Start ( ) : void
return void

Property Details

audioplayer public_oe property

public AudioSource,UnityEngine audioplayer
return UnityEngine.AudioSource