TopDown Engine v4.5
Loading...
Searching...
No Matches
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

Static Public Attributes

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

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.

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 )
protected

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

Parameters
position
feedbacksIntensity

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: