Jacky's Simple Audio Manager  3.0.0-preview
A decentralized audio playing system for Unity, designed for simplicity and built to scale!
JSAM Namespace Reference

A good portion referenced from the official Unity source https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/Inspector/AudioReverbZoneEditor.cs More...

Namespaces

namespace  Example
 
namespace  JSAMEditor
 

Classes

struct  AudioChorusObj
 
class  AudioCollisionFeedback
 
struct  AudioDistortionObj
 
struct  AudioEchoObj
 
class  AudioEvents
 
struct  AudioHighPassObj
 
class  AudioLibrary
 
struct  AudioLowPassObj
 
class  AudioManager
 AudioManager singleton that manages all audio in the game More...
 
class  AudioManagerInternal
 
class  AudioMusicZone
 
class  AudioParticles
 Plays sounds when a particle system emits particles and when particles die https://answers.unity.com/questions/693044/play-sound-on-particle-emit-sub-emitter.html With help from these lovely gents More...
 
struct  AudioReverbObj
 
class  AudioTriggerFeedback
 
class  BaseAudioChannelHelper
 
class  BaseAudioFeedback
 
class  BaseAudioFileObject
 
class  BaseAudioMusicFeedback
 
class  JSAMExtensions
 
class  JSAMSettings
 
class  MusicChannelHelper
 
class  MusicFileObject
 
class  MusicPlayer
 
class  PauseMenu
 
class  SoundChannelHelper
 
class  SoundFileObject
 
class  SoundPlayer
 
class  VideoPlayerVolume
 

Enumerations

enum  Priority {
  Priority.Music = 0, Priority.High = 64, Priority.Default = 128, Priority.Low = 192,
  Priority.Spam = 255
}
 From 0 (most important) to 255 (least important) More...
 
enum  LoopMode { LoopMode.NoLooping, LoopMode.Looping, LoopMode.LoopWithLoopPoints, LoopMode.ClampedLoopPoints }
 Defines the different ways music can loop More...
 
enum  AudioPlaybackBehaviour { AudioPlaybackBehaviour.None, AudioPlaybackBehaviour.Play, AudioPlaybackBehaviour.Stop }
 
enum  SoundsExample2D { SoundsExample2D.BulletHit, SoundsExample2D.Shooting }
 
enum  MusicExample2D { MusicExample2D.MainTheme, MusicExample2D.MainThemeCombined, MusicExample2D.SideTheme }
 

Detailed Description

Enumeration Type Documentation

◆ AudioPlaybackBehaviour

Enumerator
None 
Play 
Stop 

◆ LoopMode

enum JSAM.LoopMode
strong

Defines the different ways music can loop

Enumerator
NoLooping 

Audio File will not loop

Looping 

Audio will loop back to start after reaching the end.

Note: If loop points have been embedded into the .wav AudioClip, loop points will be respected

LoopWithLoopPoints 

Audio will play to the loop end point and loop back between loop points indefinitely.

Only compatible with MusicFileObjects

ClampedLoopPoints 

Audio will be clamped between loop points Only compatible with MusicFileObjects

◆ MusicExample2D

enum JSAM.MusicExample2D
strong
Enumerator
MainTheme 
MainThemeCombined 
SideTheme 

◆ Priority

enum JSAM.Priority
strong

From 0 (most important) to 255 (least important)

Enumerator
Music 
High 
Default 
Low 
Spam 

◆ SoundsExample2D

enum JSAM.SoundsExample2D
strong
Enumerator
BulletHit 
Shooting