InteractableAudioReceiver Class

Definition

Add audio clip to play onClick or on Voice Command

C++
public ref class InteractableAudioReceiver : Microsoft::MixedReality::Toolkit::UI::ReceiverBase
Inheritance
InteractableAudioReceiver
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

InteractableAudioReceiver(UnityEvent)

Creates and AudioReceiver, which plays sounds on Click

Fields

AudioClip

AudioClip to play when event is selected

uEvent (Inherited from ReceiverBase)

Properties

Event

Each Receiver has a base Event it raises, (in addition to others).

(Inherited from ReceiverBase)
HideUnityEvents

Defines whether Unity Events should be hidden in inspector for this type of EventReceiver

Host

Targeted component for Event Receiver at runtime

(Inherited from ReceiverBase)
Name

Name of Event Receiver

(Inherited from ReceiverBase)

Methods

Applies to

Toode Versioonid
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0