Methods
init
- init(): any
-
Returns any
Optional
playUiSoundEffect
- playUiSoundEffect(type: SfxType): undefined | boolean | SfxType
-
Returns undefined | boolean | SfxType
Optional
queueGameSoundEffect
- queueGameSoundEffect(type: SfxType, position: IVector4): undefined | boolean | SfxType
-
Returns undefined | boolean | SfxType
Called when a ui sound effect is played
Returns
False to cancel the sound effect, a sound effect to play instead of the given one, or undefined to use the default logic