This repository is about cool design patterns written in Unity3D C#.
- Now 23 Gang of Four Patterns have all been finished in Unity3D in this repository.
- Each pattern contains the corresponding structure implementations, application examples and diagrams. Same way with Naphier/unity-design-patterns, in this repository 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 in Unity3D(with a scene) and a folder or folders ("Example") showing one or more real-world example of using the pattern in Unity3D along with a scene showing it in action. Each pattern folder may contain one or more Example.
- Game design patterns from book Game Programming Patterns have been partially implemented.
- [Command Pattern]
- [State Pattern]
- [Observer Pattern]
- [Chain of Responsibility Pattern]
- [Mediator Pattern]
- [Interpreter Pattern]
- [Iterator Pattern]
- [Memento Pattern ]
- Strategy Pattern 策略模式
- Template Method Pattern 模板方法模式
- Visitor Pattern 访问者模式
- Adapter Pattern 适配器模式
- Bridge Pattern 桥接模式
- Composite Pattern 组合模式
- Decorator Pattern 装饰模式
- Facade Pattern 外观模式
- Flyweight Pattern 享元模式
- Proxy Pattern 代理模式
- Prototype Pattern 原型模式
- Singleton Pattern 单例模式
- Abstract Factory Pattern 抽象工厂模式
- Builder Pattern 建造者模式
- Factory Method Pattern 工厂方法模式
- Subclass Sandbox Pattern 子类沙盒模式
- Type Object Pattern 类型对象模式
- Component Pattern 组件模式
- Event Queue Pattern 事件队列模式
- Game Loop Pattern 游戏循环模式
- Service Locator Pattern 服务定位器模式
- Data Locality Pattern 数据局部性模式
- Dirty Flag Pattern 脏标记模式
- Object Pool Pattern 对象池模式
- http://gameprogrammingpatterns.com/
- https://www.youtube.com/playlist?list=PLF206E906175C7E07
- https://github.com/Naphier/unity-design-patterns
- http://www.dofactory.com/net/design-patterns
- https://sourcemaking.com/design_patterns
- http://www.habrador.com/tutorials/programming-patterns/
- Gang of Four Patterns
- Head First Design Patterns
- 设计模式与游戏完美开发
