Inventory Engine  v4.0
Public Member Functions | Static Public Member Functions | List of all members
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()

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

◆ Trigger()

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

◆ Unregister()

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

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