How to make your code more Modular using Scriptable Objects in Unity
For some time Unity has promoted Scriptable Objects as a solution for making the code more modular. In this video I want to show how and WHY we may want to u...

Sunny Valley Studio
7.7K views β’ Nov 24, 2021

About this video
For some time Unity has promoted Scriptable Objects as a solution for making the code more modular. In this video I want to show how and WHY we may want to use Scriptable Objects to store values that can be more easily shared with other scripts in Unity.
This solution was shown in "Unite Austin 2017 - Game Architecture with Scriptable Objects" video https://youtu.be/raQ3iHhE_Kk
Learn to write more maintainable code using Design patterns by making a 2d platformer game:
https://courses.sunnyvalleystudio.com/
Project files for patreons:
https://www.patreon.com/posts/59086630
Scripts on github:
https://github.com/SunnyValleyStudio/More-modular-code-using-scriptable-objects-unity-2021
Assets used:
https://pixel-boy.itch.io/ninja-adventure-asset-pack
Unity Open project:
https://github.com/UnityTechnologies/open-project-1
Join the discord:
https://discord.gg/RQEtYHz
You can support me through Patreon:
https://www.patreon.com/sunnyvalleystudio
00:00 Introduction
01:39 Rigid code problem
03:00 Solution #1 Events
05:50 Solution #2 Scriptable Objects
08:54 Benefits of using SO solution
#ScriptableObject #unity2d #sunnyvalleystudio
This solution was shown in "Unite Austin 2017 - Game Architecture with Scriptable Objects" video https://youtu.be/raQ3iHhE_Kk
Learn to write more maintainable code using Design patterns by making a 2d platformer game:
https://courses.sunnyvalleystudio.com/
Project files for patreons:
https://www.patreon.com/posts/59086630
Scripts on github:
https://github.com/SunnyValleyStudio/More-modular-code-using-scriptable-objects-unity-2021
Assets used:
https://pixel-boy.itch.io/ninja-adventure-asset-pack
Unity Open project:
https://github.com/UnityTechnologies/open-project-1
Join the discord:
https://discord.gg/RQEtYHz
You can support me through Patreon:
https://www.patreon.com/sunnyvalleystudio
00:00 Introduction
01:39 Rigid code problem
03:00 Solution #1 Events
05:50 Solution #2 Scriptable Objects
08:54 Benefits of using SO solution
#ScriptableObject #unity2d #sunnyvalleystudio
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
7.7K
Likes
283
Duration
10:44
Published
Nov 24, 2021
User Reviews
4.6
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
No specific trending topics match this video yet.
Explore All Trends