The Power of Scriptable Objects as Middle-Men @samyam
The Power of Scriptable Objects as Middle-Men  @samyam
Uploaded February 2022 | Updated September 2026, 1 week ago
In this video I'll show you how to use Scriptable Objects to design your game architecture to be flexible, easily debuggable, and extendable for both coders and designers.

ᐅGet the full Source Code Bundle to my Unity Tutorials 🤓
sam-yam.itch.io/samyam-full-source-code-to-all-videos

📥 Get the Source Code 📥
patreon.com/posts/62243000

🤝 Support Me 🤝
Patreon: patreon.com/samyg
Donate: ko-fi.com/samyam

Check out Mental Checkpoint!
👉youtube.com/mentalcheckpoint

►🔗 Relevant Video Links 🔗
ᐅThe Ultimate Introduction to Scriptable Objects in Unity
youtu.be/cy49zMBZvhg
ᐅUnite Austin 2017 - Game Architecture with Scriptable Objects
youtube.com/watch?v=raQ3iHhE_Kk
ᐅPlayer Prefs
docs.unity3d.com/ScriptReference/PlayerPrefs.html

The idea is to use a Scriptable Object as a middle-man for communication between two different scripts, and we use event-based messaging to shoot out events from the Scriptable Object to whoever is listening. This results in decoupling code and dependencies, making your code easier to rework and adapt to new changes.

►⏱️ Timestamps ⏱️
0:00 Intro
1:16 Mental Checkpoint Sponsorship
1:48 Bad Example #1
4:55 Bad Example #2
7:28 Bad Example #3
9:45 Additive Scenes Mention
10:51 Scriptable Objects as a Middle-Man
14:55 Scriptable Object VS Monobehaviour
15:25 Dependency Injection
16:18 Outro

💖💖THANK YOU TO ALL MY PATRONS 💖💖

❯❯❯ My Links ❮❮❮
💗 Patreon 💗
patreon.com/samyg
💬 Discord Server 💬
discord.gg/SwCKB3Q
🐦 Twitter 🐦
twitter.com/samyam_youtube
📚 Facebook 📚
facebook.com/samyam.youtube
🎵 Music 🎵
Ambient Gold
streambeats.com
👍 Like and Subscribe! 👍

🖥️ Computer Setup 🖥️
*As an Amazon Associate I earn from qualifying purchases.
amazon.com/shop/samyam

Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!

#madewithunity #gamedev #unity
The Power of Scriptable Objects as Middle-MenCan I Make a Game in 10 Minutes? #gamedesign #gamedev #indiedev #indiemaking games has never been easier? 😳 #indiedev #gamedevInput System Interactions Explained | Press, Hold, Tap, SlowTap, MultiTap - UnitySalvaging a Superhero Game | 6 Devs Pass the Project Challenge in Unity Pt2making a desktop game is not easy, actuallyMake Line Rider in Unity Pt.4 - Player Physicsim making a cute precision platformer game #indiegameThey said my game’s name sucks… #gamedev #indiegameUnity tools if you’re bad at art #gamedev #indiedevUnity tools i can’t live without #gamedev #indiedevThe Ultimate Multiplayer Tutorial for Unity - Netcode for GameObjects
samyam |

The Power of Scriptable Objects as Middle-Men

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER