Humble Objects in Unity @InfallibleCode
Humble Objects in Unity  @InfallibleCode
Uploaded July 2020 | Updated September 2026, 2 weeks ago
Sign up for the Level 2 Game Dev Newsletter: 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
patreon.com/posts/38990018

Level Design Video: youtu.be/xN_dHI3lbis

👨💻 Join our community: discord.gg/NjjQ3BU
❤️ Support the channel: patreon.com/infalliblecode

My Favorite Unity Assets 💯⤵️
1️⃣ Odin Inspector: assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1100l3e8M
2️⃣ Shapes: assetstore.unity.com/packages/tools/particles-effects/shapes-173167?aid=1100l3e8M
3️⃣ Easy Save: assetstore.unity.com/packages/tools/input-management/easy-save-the-complete-save-load-asset-768?aid=1100l3e8M
4️⃣ Dialogue System for Unity: assetstore.unity.com/packages/tools/ai/dialogue-system-for-unity-11672?aid=1100l3e8M
5️⃣ Editor Console Pro: 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 charles@infalliblecode.com

* Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.
Humble Objects in UnityA Better Way To Share Your Code! (Unity Tutorial)Unit Tests in Unity[GameDev Stream] Hangout w/ Ashley Alicea (7/16/2020)Getting a Job in Game DevelopmentHow to Get a Job as a Game Developer (Unity 3D or Unreal Engine)Tips for Making Your Own Unity Tutorial or DevlogFreelance Game Dev - Can I Use Assets?SOLID Principles in UnityMotivation for Unity Game Developers Who Feel StuckA Practical Use for Unitys C# Job SystemInfallible Code - Unity 3D Gamedev Stream #1
Infallible Code |

Humble Objects in Unity

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER