forked from QianMo/Unity-Design-Pattern
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 7beaca9
committed
优化了对象池返回对象的代码
1 parent 8502a0d commit 7beaca9
File tree
11 files changed
+36
-27
lines changed- Assets
- Behavioral Patterns
- Command Pattern
- State Pattern
- Game Programming Patterns/Object Pool Pattern/Example/Script
- Core
- Example
- Packages
- ProjectSettings
11 files changed
+36
-27
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | - | ||
80 | + | ||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | - | ||
115 | - | ||
114 | + | ||
115 | + | ||
116 | + | ||
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | - | ||
251 | + | ||
251 | 252 | | |
252 | - | ||
253 | + | ||
254 | + | ||
253 | 255 | | |
254 | 256 | | |
255 | 257 | | |
| |||
270 | 272 | | |
271 | 273 | | |
272 | 274 | | |
273 | - | ||
275 | + | ||
274 | 276 | | |
275 | - | ||
277 | + | ||
276 | 278 | | |
277 | 279 | | |
278 | - | ||
280 | + | ||
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
| |||
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | - | ||
13 | + | ||
14 | + | ||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | - | ||
41 | - | ||
41 | + | ||
42 | + | ||
42 | 43 | | |
43 | - | ||
44 | + | ||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | - | ||
72 | + | ||
72 | 73 | | |
73 | - | ||
74 | + | ||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | - | ||
2 | - | ||
1 | + | ||
0 commit comments