Skip to content

Commit fcb7be9

Browse files
committed
Updated readme
1 parent 202ff0e commit fcb7be9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
*If you came here from Unity Tutorials, I've not finished the process to move all code to GitHub, so have patience*
44

5-
A collection of programming patterns in Unity, mainly from the book [Game Programming Patterns](http://gameprogrammingpatterns.com/contents.html). These are very useful to better organize your Unity project as the game grows. You don't have to use them - you should see them as tools in your toolbox. Some patterns, such as Update and Game Loop, are already been built-in into Unity so you have to use them!
5+
A collection of programming patterns in Unity, mainly from the book [Game Programming Patterns](http://gameprogrammingpatterns.com). These are very useful to better organize your Unity project as the game grows. You don't have to use them - you should see them as tools in your toolbox. Some patterns, such as Update and Game Loop, are already been built-in into Unity so you have to use them!
66

77
Programming patterns can be divided into the following groups:
88
1. **Architectural patterns.** One example is the MVC (Model-View-Controller)
@@ -33,6 +33,9 @@ Patterns from the book Game Programming Patterns:
3333

3434
Other patterns:
3535

36+
-
37+
38+
# Patterns from the book Game Programming Patterns
3639

3740
## 1. Command
3841

@@ -51,7 +54,7 @@ This pattern is so popular that C# has implemented it for you. Unity also has it
5154
* EventHandler
5255
* Action
5356
* UnityEvent
54-
* Your own implementation
57+
* Your own implementation by using a delegate
5558

5659
I've implemented all these in the code, so if you don't understand the difference take a look there.
5760

@@ -106,7 +109,7 @@ Your game can be in a number of states. For example, the main character can have
106109

107110
* When you have too many nested if-statements, such as in a menu system. In the code, you can see an example of a menu system that uses this pattern.
108111
* Unity is using this pattern in the animation engine.
109-
* When making a turn-based combat system: [How to Code a Simple State Machine](https://www.youtube.com/watch?v=G1bd75R10m4).
112+
* When you make a turn-based combat system: [How to Code a Simple State Machine](https://www.youtube.com/watch?v=G1bd75R10m4).
110113

111114

112115

@@ -148,3 +151,7 @@ Your game can be in a number of states. For example, the main character can have
148151

149152
## 19. Spatial Partition
150153

154+
155+
# Other patterns
156+
157+
-

0 commit comments

Comments
 (0)