C# Класс HoloToolkit.Unity.AudioOccluder

Class that implements IAudioInfluencer to provide an occlusion effect.
Наследование: UnityEngine.MonoBehaviour, IAudioInfluencer
Показать файл Открыть проект

Открытые методы

Метод Описание
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