Skip to content

avajiyo/unity-design-patterns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.6%
  • ShaderLab 0.4%