Unity C# Architecture: Learn how to observe variables using a streamlined generic Observer class aided by the UnityEventTools class. This video covers play and edit modes, focusing on the serialization and persistence of UnityEvents programmatically in the Editor.
🔔 Subscribe for more Unity Tutorials / @git-amend
#unity3d #gamedev #indiedev
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 C# Observer/Delegate Basics
3:00 Generic Observer
6:25 Unity Event Tools
Generic Observer Source Code:
https://gist.github.com/adammyhre/353...
Resources
Unity Event Tools Documentation
https://docs.unity3d.com/2023.2/Docum...
Creating Observable Variables with Delegates in Unity Using C#
https://copyprogramming.com/howto/uni...
Unity C# Creating Observable Variables with Delegates
https://stackoverflow.com/questions/7...
Value Observer (FREE tool from Infinity Code)
https://assetstore.unity.com/packages...
C# Implicit and Explicit Operators: A Comprehensive Guide
/ c-implicit-and-explicit-operators-a-compre...
Assets Shown In This Video (Affiliate Links)
Dmitriy Dryzhak Models and Animations: https://assetstore.unity.com/publishe...
Odin: https://assetstore.unity.com/publishe...
Dungeon Mason Tiny Hero Duo: (FREE): https://assetstore.unity.com/packages...
Chromisu: Handpainted Forest MEGA Pack https://assetstore.unity.com/packages...
SineVFX: Better Crystals https://assetstore.unity.com/packages...
VFX Trees: https://assetstore.unity.com/packages...
Kronnect Volumetric Fog & Mist 2: https://assetstore.unity.com/packages...
Kronnect Cloud Shadows: https://assetstore.unity.com/packages...
Kronnect Beautify: https://assetstore.unity.com/packages...
Kyeoms Hyper Casual FX 2: https://assetstore.unity.com/packages...
MalberS Animations: Forest Golems: https://assetstore.unity.com/packages...
REXARD SpellBook Icons Megapack: https://assetstore.unity.com/packages...
ARCEY Vampire Skill Icons: https://assetstore.unity.com/packages...
Follow me!
https://linktr.ee/gitamend