CLEAN Game Architecture with ScriptableObjects | Unity Tutorial




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


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/

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!

#unitytutorial #unity2d #unity3d

Voir sur youtube

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0