Welcome to Unity Design Patterns
Examples of programming design patterns in Unity3D C#
Thanks to Robert Nystrom's Game Programming Patterns and the examples found on Rivello Multimedia's website. Each pattern is contained in a separate folder. Inside these are a folder ("structure") to show what classes are used in the pattern's structure and a folder ("example") showing a real-world example of using the pattern in Unity3D along with a scene showing it in action.
As these are accomplished I plan to do a blog article on each. Once the articles are done they will be referenced in each pattern's readme.md.
Details on each pattern can be found in the Readme.md file in each pattern's folder.
- Command Pattern
- Abstract Factory Pattern
- Flyweight Pattern
- Builder Pattern
- Factory Method Pattern
- Decorator Pattern
- Strategy Pattern
Please check out contributors.md if you'd like to help out with this project. It will take me forever to do all of these on my own and I'd love to have some help!
Patterns to do:
- Singleton (Monobehaviour derived and non-derived)
- Chain of Responsibility
- Template Method