Overview
Unity Tools is a small collection of Unity C# scripts I keep around as reference. My newer rendering and LOD systems are in MAZE Tools.
Included scripts
MAINis a central singleton for the main game manager, with a screen fade, level loading and debug tools.SaveManagersaves game data and custom data to a file. Anything serializable can be stored.Soundhandles pooled SFX with sound banks, pitch and volume variation, 3D and UI sounds, and music with fades and intro-to-loop tracks.OptionsMenusaves volume, resolution and quality settings through PlayerPrefs. It's built on my own menu UI and a few other scripts, so it needs hooking up to your own.AnimatorEventPasserfires animation events on any object set in the inspector, not just the one with the animator.Triggerfires enter, exit and stay events from a trigger collider, filtered by tag.Trackerfollows a target transform with options for lookahead, damping, rotation follow, automatic player tracking and Y locking.Utilhas object, coroutine, math, random and scene-loading helpers.