Skip to content

Commit 340ead7

Browse files
authored
Update README.md
1 parent 252ead6 commit 340ead7

File tree

1 file changed

+2
-2
lines changed
  • Assets/Game Programming Patterns/Service Locator Pattern

1 file changed

+2
-2
lines changed

Assets/Game Programming Patterns/Service Locator Pattern/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Event Queue Pattern 事件队列模式
1+
# Service Locator Pattern 服务定位器模式
22

33
## Intent 意义
44

@@ -38,4 +38,4 @@ The core difficulty with a service locator is that it takes a dependency —
3838

3939
服务定位器模式在很多方面和单例模式非常相近,所以值得考虑两者来决定哪一个更适合你的需求。
4040

41-
Unity引擎把这个模式和组件模式结合起来,并使用在了GetComponent()方法中。
41+
Unity引擎把这个模式和组件模式结合起来,并使用在了GetComponent()方法中。

0 commit comments

Comments
 (0)