
Random Spawning With Culling
This post shows how to spawn objects randomly around a level but cull them until an object, such as the player, gets within a certain distance of them. Read more [...]
1GAM Space Shooter – Firing Bullets While Preserving Momentum
To fire bullets from a moving object within Unity, you should add the object's momentum to the bullets to get a realistic look. Read more [...]
Unity Sound Manager (C#)
The Sound Manager is used for loading and playing all sounds in a scene. Unlike the Music Manager, the Sound Manager is not persistent across scenes because each scene likely has different audio clips to play. Read more [...]
Unity MusicManager and Music Playlist (C#)
The Music Manager is intended for playing background music according to player settings. It is also capable of fading in and fading out music. Read more [...]
Unity Mouse_Input (C#)
This is a basic mouse input class to be customized for a particular game’s needs and loaded depending on device. Note that unlike the Keyboard_Input class, this requires tweaking the Input Manager in the project settings since the default are not fully compatible with this (in my opinion) more optimized script. Read more [...]