
Advertise on podcast: Oak Voice Experience
This podcast has
1 episodes
Language
EnglishPublisher
Ofori Ankah KofiExplicit
No
Date created
2020/09/10
Latest episode
2025/03/30
Average duration
19 min.
Release period
- days
Description
Let's Learn and Grow Together.
Unlock Oak Voice Experience podcast Email contact info,
Listeners & Audience details
Email contact information
Direct podcast contact details

Listeners
Audience numbers & engagement insights

Audience details
Podcast Insights

Podcast episodes
Check latest episodes from Oak Voice Experience podcast
Game Architecture with Scriptable Objects | Deep Dive
2025/03/30
The Core Essence of Scriptable Objects.ScriptableObjects are a powerful feature in Unity that promotes better organization, efficiency, and flexibility in your game development workflow by separating data from code and providing a robust system for managing and sharing game data as assets.
Centralized Data Management and Reduced Memory Usage: ScriptableObjects act as data containers that store large amounts of data independently of class instances. By storing unchanging data in ScriptableObject assets instead of in MonoBehaviour scripts attached to multiple prefabs, you avoid duplicating data in memory, leading to a more memory-efficient project. This is particularly beneficial when you have multiple instances of the same prefab that share the same data.
Enhanced Editor Workflow and Data Persistence: ScriptableObjects are assets that reside in your Project window, just like materials or textures. This allows for data persistence within the Unity Editor and between editing sessions. You can modify the data in ScriptableObjects in the Inspector, and these changes are saved automatically.
Improved Code Decoupling and Modularity: ScriptableObjects facilitate a more modular and less coupled game architecture. Instead of creating direct references between different scripts or relying on patterns like Singletons, you can use ScriptableObjects to share data and communicate between systems indirectly. This makes your codebase more flexible, maintainable, and easier to test. For example, different systems can reference the same ScriptableObject for shared game data without directly knowing each other. They can also be used as a basis for event systems (like channels and runtime sets), enabling decoupled communication between different parts of your game.
Increased Flexibility and Extensibility: By keeping data separate from code, ScriptableObjects allow for greater flexibility in modifying and extending your game. You can change game parameters, add new items, define recipes, or configure game events by simply creating or modifying ScriptableObject assets without needing to alter the underlying code. This data-driven approach empowers designers and other team members to make changes and experiment with game mechanics more easily. Furthermore, ScriptableObjects offer a more flexible alternative to Enums, as they can hold additional data and are easier to extend or reorder without breaking existing references.
Suitability for Various Use Cases: ScriptableObjects are versatile and can be used for a wide range of purposes, including storing game configuration, item definitions, crafting recipes, enemy stats, dialog lines, sound presets, UI data, and even defining entire game systems. They are also valuable for creating editor tools and extending the functionality of the Unity Editor. The "Unity" channel's "Game architecture with ScriptableObjects" video highlights their use in creating flexible game architectures, event systems, and managing various game features.
Addressing Singleton Issues: ScriptableObjects, particularly when used in patterns like Runtime Sets, offer a way to avoid some of the common problems associated with the Singleton pattern, such as rigid dependencies, difficulties in testing, and potential race conditions. By using ScriptableObject assets for shared data and inter-system communication, you can achieve a more decoupled and flexible architecture.
Episode Sources
https://youtu.be/raQ3iHhE_Kk?list=TLGGLy2l7KTBQtczMDAzMjAyNQ
https://youtu.be/Wo2qQPqfYJs?list=TLGG2c6IuOkBsNYzMDAzMjAyNQ
https://youtu.be/5a-ztc5gcFw?list=TLGGgr7h2u3XBeUzMDAzMjAyNQ
https://youtu.be/WLDgtRNK2VE?list=TLGGwDpFgCMtYRczMDAzMjAyNQ
https://youtu.be/E91NYvDqsy8?list=TLGGxE86pNS51RwzMDAzMjAyNQ
https://docs.unity3d.com/ScriptReference/ScriptableObject.html
Podcast reviews
Read Oak Voice Experience podcast reviews
Podcast sponsorship advertising
Start advertising on Oak Voice Experience relevant audience podcasts
You may also like to advertise on these Podcasts

4.1157471
Trail Daddy: A Trail Blazers Podcast Hosted by Dave Deckard
SB Nation/Rogue Media Network

4.650114
McKellar
McKellar Golf Podcast

4.6256160
BYLATINMEN The Podcast
BYLATINMEN

4.719090
The Oversharers Podcast
Kally and Hodo

4.9163206
It Takes Grit
Rebecca Louise

4.8252125
True Crime Reporter
Robert Riggs

4.920071
Uncuffed
KALW

4.9194158
The Rhythm of Us
Chris and Jenni Graebe

4.8637222
Soul and Wit
Soul and Wit

4.9161239
The USA Weightlifting Podcast
USA Weightlifting