Highroad Engine v1.3
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)
 

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)
 

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 
)

◆ 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 
)
static

◆ Unregister()

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

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