Inventory Engine v4.3
Loading...
Searching...
No Matches
MoreMountains.Tools.MMSfxEvent Struct Reference

A struct used to trigger sounds. More...

Public Member Functions

delegate void Delegate (AudioClip clipToPlay, AudioMixerGroup audioGroup=null, float volume=1f, float pitch=1f, int priority=128)

Static Public Member Functions

static void Register (Delegate callback)
static void Unregister (Delegate callback)
static void Trigger (AudioClip clipToPlay, AudioMixerGroup audioGroup=null, float volume=1f, float pitch=1f, int priority=128)

Detailed Description

A struct used to trigger sounds.

Member Function Documentation

◆ Delegate()

delegate void MoreMountains.Tools.MMSfxEvent.Delegate ( AudioClip clipToPlay,
AudioMixerGroup audioGroup = null,
float volume = 1f,
float pitch = 1f,
int priority = 128 )

◆ Register()

void MoreMountains.Tools.MMSfxEvent.Register ( Delegate callback)
static

◆ Trigger()

void MoreMountains.Tools.MMSfxEvent.Trigger ( AudioClip clipToPlay,
AudioMixerGroup audioGroup = null,
float volume = 1f,
float pitch = 1f,
int priority = 128 )
static

◆ Unregister()

void MoreMountains.Tools.MMSfxEvent.Unregister ( Delegate callback)
static

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