Feel  4.0.1
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMF_MMSoundManagerSoundControl Class Reference

This feedback will let you control a specific sound (or sounds), targeted by SoundID, which has to match the SoundID of the sound you intially played. You will need a MMSoundManager in your scene for this to work. More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_MMSoundManagerSoundControl:
MoreMountains.Feedbacks.MMF_Feedback

Public Attributes

MMSoundManagerSoundControlEventTypes ControlMode = MMSoundManagerSoundControlEventTypes.Pause
 sets the inspector color for this feedback More...
 
int SoundID = 0
 the ID of the sound, has to match the one you specified when playing it More...
 

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On play, triggers an event meant to be caught by the MMSoundManager and acted upon More...
 

Protected Attributes

AudioSource _targetAudioSource
 

Additional Inherited Members

Detailed Description

This feedback will let you control a specific sound (or sounds), targeted by SoundID, which has to match the SoundID of the sound you intially played. You will need a MMSoundManager in your scene for this to work.

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_MMSoundManagerSoundControl.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On play, triggers an event meant to be caught by the MMSoundManager and acted upon

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ _targetAudioSource

AudioSource MoreMountains.Feedbacks.MMF_MMSoundManagerSoundControl._targetAudioSource
protected

◆ ControlMode

MMSoundManagerSoundControlEventTypes MoreMountains.Feedbacks.MMF_MMSoundManagerSoundControl.ControlMode = MMSoundManagerSoundControlEventTypes.Pause

sets the inspector color for this feedback

the action to trigger on the specified sound

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_MMSoundManagerSoundControl.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

◆ SoundID

int MoreMountains.Feedbacks.MMF_MMSoundManagerSoundControl.SoundID = 0

the ID of the sound, has to match the one you specified when playing it


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