Infinite Runner Engine v1.9
Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
MoreMountains.Feedbacks.MMF_MMSoundManagerAllSoundsControl Class Reference

A feedback used to control all sounds playing on the MMSoundManager at once. It'll let you pause, play, stop and free (stop and returns the audiosource to the pool) sounds. You will need a MMSoundManager in your scene for this to work. More...

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

Public Attributes

MMSoundManagerAllSoundsControlEventTypes ControlMode = MMSoundManagerAllSoundsControlEventTypes.Pause
 sets the inspector color for this feedback 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, we call the specified event, to be caught by the MMSoundManager More...
 

Additional Inherited Members

Detailed Description

A feedback used to control all sounds playing on the MMSoundManager at once. It'll let you pause, play, stop and free (stop and returns the audiosource to the pool) sounds. You will need a MMSoundManager in your scene for this to work.

Member Function Documentation

◆ CustomPlayFeedback()

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

On Play, we call the specified event, to be caught by the MMSoundManager

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ ControlMode

MMSoundManagerAllSoundsControlEventTypes MoreMountains.Feedbacks.MMF_MMSoundManagerAllSoundsControl.ControlMode = MMSoundManagerAllSoundsControlEventTypes.Pause

sets the inspector color for this feedback

The selected control mode.

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_MMSoundManagerAllSoundsControl.FeedbackTypeAuthorized = true
static

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


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