Essential Utilities

Scripts every Unity project needs regardless of genre — singletons, object pooling, input management, scene transitions, and more.

7 steps 7 scripts beginner

The path

Add these in order. Each step builds on the one before it.

  1. Start: Generic singleton for managers Singleton.cs · Thread-safe, persistent singleton base class for managers like AudioManager, GameManager, etc.
  2. Load and transition between scenes SceneLoader.cs · Async scene loading with loading screen, progress bar, and minimum load time. Clean transitions between levels.
  3. Add fade transitions between scenes ScreenFader.cs · Simple screen fade-in/fade-out with configurable color and duration. Great for scene transitions.
  4. Manage background music and sound effects AudioManager.cs · Complete audio manager with music crossfade, SFX pooling, volume control, and persistence.
  5. Pool objects for performance (bullets, particles) ObjectPool.cs · Generic object pooling system to reduce garbage collection. Perfect for bullets, particles, and enemies.
  6. Centralized input handling with rebinding InputManager.cs · Rebindable action layer over Unity's legacy Input class: named actions, runtime key rebinding saved to PlayerPrefs, and pressed and released queries.
  7. Versatile timer for countdowns and delays Timer.cs · Versatile timer with countdown, stopwatch, and repeating modes. Formatted time display and UnityEvent callbacks.

Every script in this path