C# 클래스 SoundController, entitas-2d-roguelike

상속: MonoBehaviour, IEventSubscriber
파일 보기 프로젝트 열기: JamesMcMahon/entitas-2d-roguelike 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
efxSource AudioSource
highPitchRange float
lowPitchRange float
musicSource AudioSource

공개 메소드들

메소드 설명
OnAudioAdded ( Group group, Entity entity, int index, IComponent component ) : void
Play ( AudioClip clip, bool randomize = false ) : void
Start ( ) : void
StopMusic ( ) : void

메소드 상세

OnAudioAdded() 공개 메소드

public OnAudioAdded ( Group group, Entity entity, int index, IComponent component ) : void
group Group
entity Entity
index int
component IComponent
리턴 void

Play() 공개 메소드

public Play ( AudioClip clip, bool randomize = false ) : void
clip AudioClip
randomize bool
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StopMusic() 공개 메소드

public StopMusic ( ) : void
리턴 void

프로퍼티 상세

efxSource 공개적으로 프로퍼티

public AudioSource efxSource
리턴 AudioSource

highPitchRange 공개적으로 프로퍼티

public float highPitchRange
리턴 float

lowPitchRange 공개적으로 프로퍼티

public float lowPitchRange
리턴 float

musicSource 공개적으로 프로퍼티

public AudioSource musicSource
리턴 AudioSource