Harnessing Scriptable Objects for Flexible Game Design ๐ฎ
Learn how Scriptable Objects can make your game architecture more flexible, debuggable, and extendable for both coders and designers.

samyam
151.5K views โข Feb 10, 2022

About this video
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 ๐ค
https://sam-yam.itch.io/samyam-full-source-code-to-all-videos
๐ฅ Get the Source Code ๐ฅ
https://www.patreon.com/posts/62243000/
๐ค Support Me ๐ค
Patreon: https://www.patreon.com/samyg
Donate: https://ko-fi.com/samyam
Check out Mental Checkpoint!
๐https://www.youtube.com/mentalcheckpoint
โบ๐ Relevant Video Links ๐
แ The Ultimate Introduction to Scriptable Objects in Unity
https://youtu.be/cy49zMBZvhg
แ Unite Austin 2017 - Game Architecture with Scriptable Objects
https://www.youtube.com/watch?v=raQ3iHhE_Kk
แ Player Prefs
https://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 ๐
https://www.patreon.com/samyg
๐ฌ Discord Server ๐ฌ
https://discord.gg/SwCKB3Q
๐ฆ Twitter ๐ฆ
https://twitter.com/samyam_youtube
๐ Facebook ๐
https://www.facebook.com/samyam.youtube/
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
https://www.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
แ Get the full Source Code Bundle to my Unity Tutorials ๐ค
https://sam-yam.itch.io/samyam-full-source-code-to-all-videos
๐ฅ Get the Source Code ๐ฅ
https://www.patreon.com/posts/62243000/
๐ค Support Me ๐ค
Patreon: https://www.patreon.com/samyg
Donate: https://ko-fi.com/samyam
Check out Mental Checkpoint!
๐https://www.youtube.com/mentalcheckpoint
โบ๐ Relevant Video Links ๐
แ The Ultimate Introduction to Scriptable Objects in Unity
https://youtu.be/cy49zMBZvhg
แ Unite Austin 2017 - Game Architecture with Scriptable Objects
https://www.youtube.com/watch?v=raQ3iHhE_Kk
แ Player Prefs
https://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 ๐
https://www.patreon.com/samyg
๐ฌ Discord Server ๐ฌ
https://discord.gg/SwCKB3Q
๐ฆ Twitter ๐ฆ
https://twitter.com/samyam_youtube
๐ Facebook ๐
https://www.facebook.com/samyam.youtube/
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
https://www.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
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
151.5K
Likes
5.8K
Duration
17:41
Published
Feb 10, 2022
User Reviews
4.7
(30) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.