C# 클래스 HoloToolkit.Unity.AudioOccluder

Class that implements IAudioInfluencer to provide an occlusion effect.
상속: UnityEngine.MonoBehaviour, IAudioInfluencer
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity

공개 메소드들

메소드 설명
ApplyEffect ( GameObject emitter, AudioSource audioSource ) : void

Applies the audio effect.

RemoveEffect ( GameObject emitter, AudioSource audioSource ) : void

Removes the previously applied audio effect.

비공개 메소드들

메소드 설명
Update ( ) : void

메소드 상세

ApplyEffect() 공개 메소드

Applies the audio effect.
public ApplyEffect ( GameObject emitter, AudioSource audioSource ) : void
emitter UnityEngine.GameObject The GameObject on which the effect is to be applied.
audioSource UnityEngine.AudioSource The AudioSource that will be impacted by the effect.
리턴 void

RemoveEffect() 공개 메소드

Removes the previously applied audio effect.
public RemoveEffect ( GameObject emitter, AudioSource audioSource ) : void
emitter UnityEngine.GameObject The GameObject from which the effect is to be removed.
audioSource UnityEngine.AudioSource The AudioSource that will be impacted by the effect.
리턴 void