Mediator Pattern - Reduce Chaotic Dependencies

Published: 31 March 2024
on channel: git-amend
8,606
412

Fix your tightly coupled systems! Learn how the Mediator pattern can become a central point of references and information to reduce coupling between objects. Today we'll look at two examples - an chat room for AI Agents and upholding the Law of Demeter, and for good measure we'll include the Visitor and Builder programming patterns.

Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre

🔔 Subscribe for more Unity Tutorials    / @git-amend  

Discord:   / discord  

#unity3d #gamedev #indiedev

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 Mediator Pattern
11:34 Law of Demeter

Visitor Pattern:    • Visitor: How I Mastered the Toughest ...  
Service Locator:    • Service Locator: Inversion of Control...  

Mediator Code: https://gist.github.com/adammyhre/927...
Unity Utils Repo: https://github.com/adammyhre/Unity-Utils

Assets Shown In This Video (Affiliate Links)
Dungeon Mason Tiny Hero Duo: (FREE): https://assetstore.unity.com/packages...
Tiny Heroes: https://assetstore.unity.com/packages...
Monsters: https://assetstore.unity.com/packages...
Pure Nature 2: Mountains?aid=1101lw3svhttps://assetstore.unity.com/packages...
Hierarchy Icons: https://assetstore.unity.com/packages...
Kronnect Beautify: https://assetstore.unity.com/packages...

Follow me!
https://linktr.ee/gitamend


Watch video Mediator Pattern - Reduce Chaotic Dependencies online without registration, duration hours minute second in high quality. This video was added by user git-amend 31 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,606 once and liked it 412 people.