Interhaptics SDK for Unity 1.6
Loading...
Searching...
No Matches
Interhaptics.Samples.AudioManagerMobile Class Reference
Inheritance diagram for Interhaptics.Samples.AudioManagerMobile:

Public Member Functions

void StopPlayingAudioHapticSources ()
 

Detailed Description

Definition at line 12 of file AudioManagerMobile.cs.

Member Function Documentation

◆ StopPlayingAudioHapticSources()

void Interhaptics.Samples.AudioManagerMobile.StopPlayingAudioHapticSources ( )

Definition at line 17 of file AudioManagerMobile.cs.

18 {
19 foreach (AudioHapticSource audioHapticSource in audioHapticSources)
20 {
21 if (audioHapticSource.audioSource.isPlaying)
22 {
23 audioHapticSource.audioSource.Stop();
24 break;
25 }
26 }
27 }

References Interhaptics.Utils.AudioHapticSource.audioSource.

Referenced by Interhaptics.Samples.AudioControlGUI.StartHaptics().


The documentation for this class was generated from the following file: