Skip to content

SinlessDevil/AudioVibrationKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AudioVibrationKit 🔊📳

A modular Unity toolkit for managing 2D/3D audio, music playback, and advanced haptic feedback with powerful editor tools and runtime flexibility.

✨ Features

  • 🎵 Audio & Music Management
    • 2D and 3D sounds with audio pooling
    • Music playback with pause/resume/stop and smooth transitions
    • Global volume control
  • 📳 Vibration System (powered by NiceVibrations)
    • Preset, Constant, Emphasis and CustomCurve modes
    • Curve-based vibration playback with AnimationCurve using UniTask
    • Real-time updates with cancellation support
  • 🛠 Full Odin-based Editor Tools
    • Sound/Music/Vibration editors with real-time previews
    • Auto-generated enums (e.g. Sound2DType, MusicType, VibrationType)
    • Built-in enum sync after compile
  • 🔧 ScriptableObject-based architecture — clean and extendable
  • 📱 Android ready — optimized for runtime builds

📸 Screenshots

🎛 Sound & Music Editors

📳 Vibration Editor

🧪 Test UI & Code

Dependencies

💡 Usage Example

_soundService.Play(Sound2DType.Click);
_soundService.Play(Sound3DType.Explosion, transform.position);
_musicService.Play(MusicType.Battle);
_musicService.Pause();
_musicService.Resume();

_vibrationService.Play(VibrationType.HitPulse);
_vibrationService.Stop();

About

A modular Unity toolkit for managing 2D/3D audio, music playback, and advanced haptic feedback

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages