Section 6: Decoupling Patterns

Unity might have a robust built-in component system, but it won't prevent you from having tight coupling issues in your code base. You want to make sure objects can communicate with each other without being bound together to the point that if one element is missing in the chain, everything breaks down. The patterns in this section are designed to help you decouple your dependencies and offer a way to write code that's more scalable.

The following chapters are included in this section:

Get Hands-On Game Development Patterns with Unity 2019 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.