Uploaded September 2022 | Updated September 2026, 2 weeks ago
Step-by-step Unity tutorial for beginners where you will learn how to make a 3D Space Shooter in Unity.
In this installment I show you how to music and sound effects. We build an enemy ship manager to spawn enemy ships and we implement the ai weapon controls to allow the enemy ships to shoot back.
0:00:00 - Intro
0:00:43 - Recap of previous video
0:01:20 - Creating new managers (MusicManager, SoundManager, EnemyShipManager)
0:02:39 - Setting script execution order
0:05:10 - Implementing singleton pattern on GameManager class
0:07:12 - Write C# script for MusicManager
0:13:20 - Create audio mixer with audio mixer groups and snapshots
0:16:30 - Import music clips and sound effects package
0:22:20 - Add logic to RadarScreen to tell GameManager when there are enemy ships in range
0:25:38 - Test playing combat music and transition to patrol music
0:26:17 - Write C# script for SoundManager and add effects to Blaster
0:35:08 - Test blaster sound effects
0:35:38 - Add sound effects to MissileLauncher
0:37:18 - Test missile launcher sound effects
0:37:30 - Import sound files for weapon impact sounds and add to projectiles and missiles
0:42:35 - Create enemy variants of projectiles and missiles
0:51:05 - Create EnemyFighter ship data SO
0:52:30 - Refactor ShipController so we can derive EnemyShipController from it
0:59:10 - Write C# script for EnemyShipController
1:31:06 - Implement logic in AIShipWeaponControls to fire weapons
1:37:18 - Add SetTarget() method to MissileLauncher
1:38:30 - Replace ShipController component on enemy ship prefab with EnemyShipController
1:41:51 - Write C# script for EnemyShipManager
1:54:20 - Test flight!!!
1:56:48 - Outro
Link to entire playlist for this tutorial series
youtube.com/playlist?list=PLHcOLPSLOK7PNvLAdnqicE_BeqoNH7Zwz
Link to source code for this episode on GitHub:
github.com/gbradburn/3D-Space-Shooter-Tutorial/tree/PartFifteen
My Links
My website: midniteoilsoftware.com
My itch.io site: midniteoilsoftware.itch.io
Twitter: twitter.com/SoftwareOil
discord.gg/wrdqXPtw9y
facebook.com/groups/347087173378560
#madewithunity #unitytutorial #3dspaceshooter #unity3d #spacecombat #music #soundeffects #sfx #ai
Step-by-step Unity tutorial for beginners where you will learn how to make a 3D Space Shooter in Unity.
In this installment I show you how to music and sound effects. We build an enemy ship manager to spawn enemy ships and we implement the ai weapon controls to allow the enemy ships to shoot back.
0:00:00 - Intro
0:00:43 - Recap of previous video
0:01:20 - Creating new managers (MusicManager, SoundManager, EnemyShipManager)
0:02:39 - Setting script execution order
0:05:10 - Implementing singleton pattern on GameManager class
0:07:12 - Write C# script for MusicManager
0:13:20 - Create audio mixer with audio mixer groups and snapshots
0:16:30 - Import music clips and sound effects package
0:22:20 - Add logic to RadarScreen to tell GameManager when there are enemy ships in range
0:25:38 - Test playing combat music and transition to patrol music
0:26:17 - Write C# script for SoundManager and add effects to Blaster
0:35:08 - Test blaster sound effects
0:35:38 - Add sound effects to MissileLauncher
0:37:18 - Test missile launcher sound effects
0:37:30 - Import sound files for weapon impact sounds and add to projectiles and missiles
0:42:35 - Create enemy variants of projectiles and missiles
0:51:05 - Create EnemyFighter ship data SO
0:52:30 - Refactor ShipController so we can derive EnemyShipController from it
0:59:10 - Write C# script for EnemyShipController
1:31:06 - Implement logic in AIShipWeaponControls to fire weapons
1:37:18 - Add SetTarget() method to MissileLauncher
1:38:30 - Replace ShipController component on enemy ship prefab with EnemyShipController
1:41:51 - Write C# script for EnemyShipManager
1:54:20 - Test flight!!!
1:56:48 - Outro
Link to entire playlist for this tutorial series
youtube.com/playlist?list=PLHcOLPSLOK7PNvLAdnqicE_BeqoNH7Zwz
Link to source code for this episode on GitHub:
github.com/gbradburn/3D-Space-Shooter-Tutorial/tree/PartFifteen
My Links
My website: midniteoilsoftware.com
My itch.io site: midniteoilsoftware.itch.io
Twitter: twitter.com/SoftwareOil
discord.gg/wrdqXPtw9y
facebook.com/groups/347087173378560
#madewithunity #unitytutorial #3dspaceshooter #unity3d #spacecombat #music #soundeffects #sfx #ai










