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 • Unite Austin 2017 - Game Architecture...
Learn to write more maintainable code using Design patterns by making a 2d platformer game:
https://courses.sunnyvalleystudio.com/
Project files for patreons:
/ 59086630
Scripts on github:
https://github.com/SunnyValleyStudio/...
Assets used:
https://pixel-boy.itch.io/ninja-adven...
Unity Open project:
https://github.com/UnityTechnologies/...
Join the discord:
/ discord
You can support me through Patreon:
/ 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
Watch video How to make your code more Modular using Scriptable Objects in Unity online without registration, duration hours minute second in high quality. This video was added by user Sunny Valley Studio 24 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,482 once and liked it 253 people.