![]() | OnEngagedPlaySoundReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
public class OnEngagedPlaySoundReaction : EngageableObjectReaction
The OnEngagedPlaySoundReaction type exposes the following members.
Name | Description | |
---|---|---|
![]() | OnEngagedPlaySoundReaction | Initializes a new instance of the OnEngagedPlaySoundReaction class |
Name | Description | |
---|---|---|
![]() | OnEngage |
Called when an engage message has been received
(Overrides EngageableObjectReactionOnEngage(Boolean, Controller).) |
![]() | React |
This method is called when the reaction occurs. Note this might be called on a Coroutine if you specified a delay.
(Overrides ReactionReact.) |
Name | Description | |
---|---|---|
![]() | _audioClip |
The audio clip to play. Can be null, in which case the default audio clip on the source is used
|
![]() | _audioSource |
The audio source to use
|
![]() | _when |
Which type of engagement action is valid?
|
Name | Description | |
---|---|---|
![]() | GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) |
![]() | WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |