AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
IAudioInfluencer.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using System;
5 using UnityEngine;
6 
7 namespace HoloToolkit.Unity
8 {
12  public interface IAudioInfluencer
13  {
22  [Obsolete("ApplyEffect(GameObject, AudioSource) as been deprecated. Using ApplyEffect(GameObject) is prefered.")]
23  void ApplyEffect(GameObject soundEmittingObject, AudioSource audioSource);
24 
29  void ApplyEffect(GameObject soundEmittingObject);
30 
39  [Obsolete("RemoveEffect(GameObject, AudioSource) as been deprecated. Using RemoveEffect(GameObject) is prefered.")]
40  void RemoveEffect(GameObject soundEmittingObject, AudioSource audioSource);
41 
46  void RemoveEffect(GameObject soundEmittingObject);
47  }
48 }
Interface that is implemented by any class that wishes to influence how an audio source sounds...