petehouston / unity-design-patterns

Examples of programming design patterns in Unity C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Patterns done:

Contributors Welcome

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:

  • Prototype
  • Singleton (Monobehaviour derived and non-derived)
  • Adapter
  • Bridge
  • Composite
  • Facade
  • Proxy
  • Chain of Responsibility
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor

About

Examples of programming design patterns in Unity C#

License:Creative Commons Zero v1.0 Universal


Languages

Language:C# 99.5%Language:GLSL 0.5%