![]() | OnPushButtonPlaySoundReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
public class OnPushButtonPlaySoundReaction : PushButtonReaction
The OnPushButtonPlaySoundReaction type exposes the following members.
Name | Description | |
---|---|---|
![]() | OnPushButtonPlaySoundReaction | Initializes a new instance of the OnPushButtonPlaySoundReaction class |
Name | Description | |
---|---|---|
![]() | 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
|
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.) |