TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.Feedbacks.MMF_MMSoundManagerTrackControl Class Reference

This feedback will let you control all sounds playing on a specific track (master, UI, music, sfx), and play, pause, mute, unmute, resume, stop, free them all at once. You will need a MMSoundManager in your scene for this to work. More...

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

Public Types

enum  ControlModes {
  Mute , UnMute , SetVolume , Pause ,
  Play , Stop , Free
}
 sets the inspector color for this feedback More...

Public Attributes

MMSoundManager.MMSoundManagerTracks Track
 the track to mute/unmute/pause/play/stop/free/etc
ControlModes ControlMode = ControlModes.Pause
 the selected control mode to interact with the track. Free will stop all sounds and return them to the pool
float Volume = 0.5f
 if setting the volume, the volume to assign to the track

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, orders the entire track to follow the specific command, via a MMSoundManager event.

Additional Inherited Members

Detailed Description

This feedback will let you control all sounds playing on a specific track (master, UI, music, sfx), and play, pause, mute, unmute, resume, stop, free them all at once. You will need a MMSoundManager in your scene for this to work.

Member Enumeration Documentation

◆ ControlModes

sets the inspector color for this feedback

the possible modes you can use to interact with the track. Free will stop all sounds and return them to the pool

Enumerator
Mute 
UnMute 
SetVolume 
Pause 
Play 
Stop 
Free 

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_MMSoundManagerTrackControl.CustomPlayFeedback ( Vector3 position,
float feedbacksIntensity = 1::0f )
protected

On play, orders the entire track to follow the specific command, via a MMSoundManager event.

Parameters
position
feedbacksIntensity

Member Data Documentation

◆ ControlMode

ControlModes MoreMountains.Feedbacks.MMF_MMSoundManagerTrackControl.ControlMode = ControlModes.Pause

the selected control mode to interact with the track. Free will stop all sounds and return them to the pool

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_MMSoundManagerTrackControl.FeedbackTypeAuthorized = true
static

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

◆ Track

MMSoundManager.MMSoundManagerTracks MoreMountains.Feedbacks.MMF_MMSoundManagerTrackControl.Track

the track to mute/unmute/pause/play/stop/free/etc

◆ Volume

float MoreMountains.Feedbacks.MMF_MMSoundManagerTrackControl.Volume = 0.5f

if setting the volume, the volume to assign to the track


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/MMTools/Feedbacks/MMF_MMSoundManagerTrackControl.cs