Feel
4.3
The best way to improve your game's feel and make it extra juicy
|
An event used to control a specific sound on the MMSoundManager. You can either search for it by ID, or directly pass an audiosource if you have it. More...
Public Member Functions | |
MMSoundManagerSoundControlEvent (MMSoundManagerSoundControlEventTypes eventType, int soundID, AudioSource source=null) | |
Static Public Member Functions | |
static void | Trigger (MMSoundManagerSoundControlEventTypes eventType, int soundID, AudioSource source=null) |
Public Attributes | |
int | SoundID |
the ID of the sound to control (has to match the one used to play it) More... | |
MMSoundManagerSoundControlEventTypes | MMSoundManagerSoundControlEventType |
the control mode More... | |
AudioSource | TargetSource |
the audiosource to control (if specified) More... | |
Static Public Attributes | |
static MMSoundManagerSoundControlEvent | e |
An event used to control a specific sound on the MMSoundManager. You can either search for it by ID, or directly pass an audiosource if you have it.
Example : MMSoundManagerSoundControlEvent.Trigger(MMSoundManagerSoundControlEventTypes.Stop, 33); will cause the sound(s) with an ID of 33 to stop playing
MoreMountains.Tools.MMSoundManagerSoundControlEvent.MMSoundManagerSoundControlEvent | ( | MMSoundManagerSoundControlEventTypes | eventType, |
int | soundID, | ||
AudioSource | source = null |
||
) |
|
static |
|
static |
MMSoundManagerSoundControlEventTypes MoreMountains.Tools.MMSoundManagerSoundControlEvent.MMSoundManagerSoundControlEventType |
the control mode
int MoreMountains.Tools.MMSoundManagerSoundControlEvent.SoundID |
the ID of the sound to control (has to match the one used to play it)
AudioSource MoreMountains.Tools.MMSoundManagerSoundControlEvent.TargetSource |
the audiosource to control (if specified)