Uploaded November 2023 | Updated September 2026, 4 hours ago
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 youtube.com/@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:
gist.github.com/adammyhre/353195d4870e8fd0cc0028659e66f208
Resources
Unity Event Tools Documentation
docs.unity3d.com/2023.2/Documentation/ScriptReference/Events.UnityEventTools.html
Creating Observable Variables with Delegates in Unity Using C#
copyprogramming.com/howto/unity-c-creating-observable-variables-with-delegates
Unity C# Creating Observable Variables with Delegates
stackoverflow.com/questions/70445037/unity-c-sharp-creating-observable-variables-with-delegates
Value Observer (FREE tool from Infinity Code)
assetstore.unity.com/packages/tools/utilities/value-observer-266922?aid=1101lw3sv
C# Implicit and Explicit Operators: A Comprehensive Guide
medium.com/@gustavorestani/c-implicit-and-explicit-operators-a-comprehensive-guide-5e6972cc8671
Assets Shown In This Video (Affiliate Links)
Dmitriy Dryzhak Models and Animations: assetstore.unity.com/publishers/10181?aid=1101lw3sv
Odin: assetstore.unity.com/publishers/3727?aid=1101lw3sv
Dungeon Mason Tiny Hero Duo: (FREE): assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-duo-pbr-polyart-225148?aid=1101lw3sv
Chromisu: Handpainted Forest MEGA Pack assetstore.unity.com/packages/3d/vegetation/handpainted-forest-mega-pack-248421?aid=1101lw3sv
SineVFX: Better Crystals assetstore.unity.com/packages/vfx/shaders/better-crystals-235002?aid=1101lw3sv
VFX Trees: assetstore.unity.com/packages/vfx/particles/environment/stylized-vfx-trees-gpu-based-effect-238647?aid=1101lw3sv
Kronnect Volumetric Fog & Mist 2: assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/volumetric-fog-mist-2-162694?aid=1101lw3sv
Kronnect Cloud Shadows: assetstore.unity.com/packages/vfx/shaders/cloud-shadows-fx-267702?aid=1101lw3sv
Kronnect Beautify: assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-3-advanced-post-processing-233073?aid=1101lw3sv
Kyeoms Hyper Casual FX 2: assetstore.unity.com/packages/vfx/particles/hyper-casual-fx-pack-vol-2-245262?aid=1101lw3sv
MalberS Animations: Forest Golems: assetstore.unity.com/packages/3d/characters/creatures/poly-art-forest-golems-164389?aid=1101lw3sv
REXARD SpellBook Icons Megapack: assetstore.unity.com/packages/2d/gui/icons/spellbook-megapack-109615?aid=1101lw3sv
ARCEY Vampire Skill Icons: assetstore.unity.com/packages/2d/gui/icons/vampire-skill-icons-250993?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend
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 youtube.com/@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:
gist.github.com/adammyhre/353195d4870e8fd0cc0028659e66f208
Resources
Unity Event Tools Documentation
docs.unity3d.com/2023.2/Documentation/ScriptReference/Events.UnityEventTools.html
Creating Observable Variables with Delegates in Unity Using C#
copyprogramming.com/howto/unity-c-creating-observable-variables-with-delegates
Unity C# Creating Observable Variables with Delegates
stackoverflow.com/questions/70445037/unity-c-sharp-creating-observable-variables-with-delegates
Value Observer (FREE tool from Infinity Code)
assetstore.unity.com/packages/tools/utilities/value-observer-266922?aid=1101lw3sv
C# Implicit and Explicit Operators: A Comprehensive Guide
medium.com/@gustavorestani/c-implicit-and-explicit-operators-a-comprehensive-guide-5e6972cc8671
Assets Shown In This Video (Affiliate Links)
Dmitriy Dryzhak Models and Animations: assetstore.unity.com/publishers/10181?aid=1101lw3sv
Odin: assetstore.unity.com/publishers/3727?aid=1101lw3sv
Dungeon Mason Tiny Hero Duo: (FREE): assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-duo-pbr-polyart-225148?aid=1101lw3sv
Chromisu: Handpainted Forest MEGA Pack assetstore.unity.com/packages/3d/vegetation/handpainted-forest-mega-pack-248421?aid=1101lw3sv
SineVFX: Better Crystals assetstore.unity.com/packages/vfx/shaders/better-crystals-235002?aid=1101lw3sv
VFX Trees: assetstore.unity.com/packages/vfx/particles/environment/stylized-vfx-trees-gpu-based-effect-238647?aid=1101lw3sv
Kronnect Volumetric Fog & Mist 2: assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/volumetric-fog-mist-2-162694?aid=1101lw3sv
Kronnect Cloud Shadows: assetstore.unity.com/packages/vfx/shaders/cloud-shadows-fx-267702?aid=1101lw3sv
Kronnect Beautify: assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-3-advanced-post-processing-233073?aid=1101lw3sv
Kyeoms Hyper Casual FX 2: assetstore.unity.com/packages/vfx/particles/hyper-casual-fx-pack-vol-2-245262?aid=1101lw3sv
MalberS Animations: Forest Golems: assetstore.unity.com/packages/3d/characters/creatures/poly-art-forest-golems-164389?aid=1101lw3sv
REXARD SpellBook Icons Megapack: assetstore.unity.com/packages/2d/gui/icons/spellbook-megapack-109615?aid=1101lw3sv
ARCEY Vampire Skill Icons: assetstore.unity.com/packages/2d/gui/icons/vampire-skill-icons-250993?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend










![Build Custom Unity MCP Tools for Coding Agents
Learn how to supercharge AI coding assistants like Cursor by teaching them your exact Unity editor workflows. In this step-by-step tutorial we start with Unityβs official MCP bridge, and create a full discoverable [McpTool] with parameters, validation, and structured responses. We also compare the official approach with Unity MCP Pro. Perfect for technical artists, Unity developers, and anyone who wants their AI to actually understand and execute project-specific tasks instead of just writing code.
Use AI Assistant v2.6.0-pre.1 if you dont want a subscription, otherwise sign up for FREE Unity AI Trial: https://unity.com/features/ai
Docs: https://docs.unity3d.com/Packages/com.unity.ai.assistant@2.13/manual/integration/unity-mcp-get-started.html
MCP for Unity Pro - https://y1uda.itch.io/unity-mcp-pro
Want to support me? π
Buy me a coffee! https://ko-fi.com/adammyhre
π Subscribe for more Unity Tutorials https://youtube.com/@git-amend
Discord: https://discord.gg/FDRZGQBBUC
#unity3d #gamedev #indiedev
β¬ Contents of this video β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬
0:00 Install AI Assistant
2:21 Tool Basics
6:56 Params and Response
*Source code:* https://gist.github.com/adammyhre/df4a1d98b131b1ef4df30a787a532e40
More Useful Code:
https://github.com/adammyhre?tab=repositories
Unity Utility Library: https://github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: https://gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642
*Other Recommended Tools* _(Affiliate Links)_
Phantom Navigator - https://assetstore.unity.com/packages/tools/utilities/phantom-navigator-371346?aid=1101lw3sv
Ultimate Preview - https://assetstore.unity.com/packages/tools/utilities/ultimate-preview-bundle-340976?aid=1101lw3sv
Mouse Shortcuts - https://assetstore.unity.com/packages/tools/utilities/mouse-button-shortcuts-and-selection-history-228013?aid=1101lw3sv
Init(args) - https://assetstore.unity.com/packages/tools/utilities/init-args-200530?aid=1101lw3sv
Wingman - https://assetstore.unity.com/packages/tools/utilities/wingman-your-inspector-s-best-friend-303181?aid=1101lw3sv
Favorites Window - https://assetstore.unity.com/packages/tools/utilities/favorites-window-123487?aid=1101lw3sv
Scene Notes - https://assetstore.unity.com/publishers/87819?aid=1101lw3sv
Beautify - https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-3-advanced-post-processing-233073?aid=1101lw3sv
Odin - https://assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1101lw3sv?aid=1101lw3sv
Odin Validator - https://assetstore.unity.com/packages/tools/utilities/odin-validator-227861?aid=1101lw3sv
Hot Reload: https://assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1101lw3sv
Better Hierarchy: https://assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: https://assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-parent-child 321300?aid=1101lw3sv
Better Mesh Filter: https://assetstore.unity.com/packages/tools/utilities/better-mesh-mesh-preview-full-insight-at-a-glance-321364?aid=1101lw3sv
Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv
Any Object Finder: https://assetstore.unity.com/packages/tools/utilities/any-object-finder-286455?aid=1101lw3sv
Kybernetic Tools: https://assetstore.unity.com/publishers/16747?aid=1101lw3sv
Sisus Tools: https://assetstore.unity.com/publishers/41398?aid=1101lw3sv
Prime Tween - https://assetstore.unity.com/packages/tools/animation/primetween-high-performance-animations-and-sequences-252960?aid=1101lw3s
Rabbit Logger - https://assetstore.unity.com/packages/tools/utilities/rabbit-logger-305396?aid=1101lw3s
*Follow me!*
https://linktr.ee/gitamend Build Custom Unity MCP Tools for Coding Agents](https://i.ytimg.com/vi/VPjo-M6mPkE/mqdefault.jpg)