C# 클래스 Sharpex2D.Audio.AudioManager

상속: IComponent, IDisposable
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the object.

Initialize ( AudioSource audioSource ) : void

Initializes the audio manager with the given audio source.

Pause ( ) : void

Pause the current playback.

Play ( ) : void

Plays the specified audio source.

Play ( PlaybackMode playbackMode ) : void

Plays the specified audio source.

Resume ( ) : void

Resumes the current playback.

Seek ( long position ) : void

Seeks to the specified position.

Stop ( ) : void

Stops the current playback.

비공개 메소드들

메소드 설명
AddEffectGroup ( AudioEffectGroup audioEffectGroup ) : void

Adds an AudioEffectGroup to this instance.

AudioManager ( IAudioInitializer audioInitializer ) : System

Initializes a new AudioManager class.

CreatePropperAudioSource ( string path ) : AudioSource

Creates the propper audio source for this provider.

PlaybackChanged ( object sender, EventArgs e ) : void

Triggered if the playback state changed.

메소드 상세

Dispose() 공개 메소드

Disposes the object.
public Dispose ( ) : void
리턴 void

Initialize() 공개 메소드

Initializes the audio manager with the given audio source.
public Initialize ( AudioSource audioSource ) : void
audioSource AudioSource The AudioSource.
리턴 void

Pause() 공개 메소드

Pause the current playback.
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Plays the specified audio source.
public Play ( ) : void
리턴 void

Play() 공개 메소드

Plays the specified audio source.
public Play ( PlaybackMode playbackMode ) : void
playbackMode PlaybackMode The PlaybackMode.
리턴 void

Resume() 공개 메소드

Resumes the current playback.
public Resume ( ) : void
리턴 void

Seek() 공개 메소드

Seeks to the specified position.
public Seek ( long position ) : void
position long The Position.
리턴 void

Stop() 공개 메소드

Stops the current playback.
public Stop ( ) : void
리턴 void