This video series explains popular design patterns and demonstrates through practical examples how you can use them in your Unity project.
The first video covers how to use the command design pattern in a Unity project. Learn how to delay logic so you can execute, manage or plan a series of actions in a flexible way, undo and redo a set of actions, or evaluate a sequence of actions.
The second video covers how to use the factory design pattern in your Unity project. This pattern can be used to build an interface for creating objects in a superclass, while allowing subclasses to alter the type of objects that will be created.
The third video covers the Model-View-Presenter (MVP) design pattern in your Unity projects. This pattern can help organize your code so it’s easier to manage, less error-prone and more flexible for future updates.
The fourth video covers an action/fighting game combo system that integrates the design patterns we’ve explored so far. You’ll learn how the different patterns work together to create this action sample.
The fifth video covers object pooling, how to use it in your Unity projects, and how it can provide performance optimization by reducing the processing power required of the CPU to run repetitive create and destroy calls.
Learn more about programming patterns from the e-book Level up your code with design patterns and SOLID and see each pattern in action in the sample project.
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.