Clean Game Architecture Using ScriptableObjects in Unity
Learn how to implement a clean and maintainable game architecture in Unity using ScriptableObjects. Support the creator on Patreon for exclusive benefits, including access to source files and code.

Sasquatch B Studios
38.7K views • Apr 11, 2024

About this video
Show your Support & Get Exclusive Benefits on Patreon (Including Access to this tutorial Source Files + Code) - https://www.patreon.com/sasquatchbgames
Join our Discord Community! - https://discord.com/invite/aHjTSBz3jH
--
I've long heard tales of how singletons are 'bad' - but for some time I didn't really understand why...
In this video, I'll exaplin why singletons have a bad rep (despite how easy they are to use) and one potential solution to help you keep your game's architecture CLEAN.
This approach should help you make a game that is:
- More modular
- Easier to edit things
- Easier to debug things
I hope you enjoy!
--
Timestamps:
00:00 - Intro
00:20 - The problem with Singletons
01:37 - Reading our Input from a ScriptableObject asset
04:39 -Replacing the movement code on our player
06:07 - Reading our Input (using a C# generated class) from a ScriptableObject
06:38 - Setting up an Audio Manager with NO references needed.
09:20 - Creating our sound object
10:30 - ScriptableObject Variables
Unite Austin 2017 - Game Architecture with Scriptable Objects
https://www.youtube.com/watch?v=raQ3iHhE_Kk
---
In need of more Unity Assets? Using our affiliate link is a great way to support us. We get a small cut that helps keep us up and running: https://assetstore.unity.com/?aid=1100lwgBQ
---
Looking for some awesome Gamedev merch? - https://sasquatchbgames.myspreadshop.com/
Download our free 2D Assets:
https://assetpack.sasquatchbstudios.com/
---
Who We Are-------------------------------------
If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia.
Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!
Wishlist Samurado!
https://store.steampowered.com/app/2343270/Samurado/
Follow us on Twitter for regular updates!
https://twitter.com/SasquatchBGames
#unitytutorial #unity2d #unity3d
Join our Discord Community! - https://discord.com/invite/aHjTSBz3jH
--
I've long heard tales of how singletons are 'bad' - but for some time I didn't really understand why...
In this video, I'll exaplin why singletons have a bad rep (despite how easy they are to use) and one potential solution to help you keep your game's architecture CLEAN.
This approach should help you make a game that is:
- More modular
- Easier to edit things
- Easier to debug things
I hope you enjoy!
--
Timestamps:
00:00 - Intro
00:20 - The problem with Singletons
01:37 - Reading our Input from a ScriptableObject asset
04:39 -Replacing the movement code on our player
06:07 - Reading our Input (using a C# generated class) from a ScriptableObject
06:38 - Setting up an Audio Manager with NO references needed.
09:20 - Creating our sound object
10:30 - ScriptableObject Variables
Unite Austin 2017 - Game Architecture with Scriptable Objects
https://www.youtube.com/watch?v=raQ3iHhE_Kk
---
In need of more Unity Assets? Using our affiliate link is a great way to support us. We get a small cut that helps keep us up and running: https://assetstore.unity.com/?aid=1100lwgBQ
---
Looking for some awesome Gamedev merch? - https://sasquatchbgames.myspreadshop.com/
Download our free 2D Assets:
https://assetpack.sasquatchbstudios.com/
---
Who We Are-------------------------------------
If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia.
Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!
Wishlist Samurado!
https://store.steampowered.com/app/2343270/Samurado/
Follow us on Twitter for regular updates!
https://twitter.com/SasquatchBGames
#unitytutorial #unity2d #unity3d
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
38.7K
Likes
1.5K
Duration
13:12
Published
Apr 11, 2024
User Reviews
4.7
(7) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now