GridVids
Sign in with YouTube

Humble Objects in Unity

Infallible Code Jul 5, 2020 15:59
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Sign up for the Level 2 Game Dev Newsletter: http://eepurl.com/gGb8eP MonoBehaviours have the ability to interface directly with Unity's entire ecosystem. That's incredibly powerful, but it comes at a cost. Depending too heavily on MonoBehaviours couples all of your custom logic directly to Unity. This leads to code that is less flexible and harder to test. That's where the Humble Object pattern comes in. #Unity3D #DesignPatterns #GameDevelopment The Humble Object pattern is a design pattern that decouples your logic from system level code. In the case of Unity, it let's you keep your code separate from Unity. In this video, Charles teaches Barles how to use Humbe Objects to improve the testability of his Unity code. Follow along by downloading the example project code at https://www.patreon.com/posts/38990018 Level Design Video: https://youtu.be/xN_dHI3lbis 👨💻 Join our community: https://discord.gg/NjjQ3BU ❤️ Support the channel: https://www.patreon.com/infalliblecode My Favorite Unity Assets 💯⤵️ 1️⃣ Odin Inspector: https://assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1100l3e8M 2️⃣ Shapes: https://assetstore.unity.com/packages/tools/particles-effects/shapes-173167?aid=1100l3e8M 3️⃣ Easy Save: https://assetstore.unity.com/packages/tools/input-management/easy-save-the-complete-save-load-asset-768?aid=1100l3e8M 4️⃣ Dialogue System for Unity: https://assetstore.unity.com/packages/tools/ai/dialogue-system-for-unity-11672?aid=1100l3e8M 5️⃣ Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1100l3e8M ⚡ Learn more about Unity 3D Plus at http://prf.hn/click/camref:1100l3e8M/destination:https://store.unity.com/products/unity-plus 👋 Contact me directly at [email protected] * Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.
Education
#humble object pattern unity #humble object pattern unity3d #humble object pattern #unity humble object pattern #unity3d humble object pattern #design patterns unity #design patterns in unity3d #design patterns in unity #design patterns for unity #unity design patterns #unity programming tutorials #programming tutorials for unity #unity tutorials #unity3d tutorials #unity3d