Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
QianMo authored Jan 8, 2018
1 parent 252ead6 commit 340ead7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Event Queue Pattern 事件队列模式
# Service Locator Pattern 服务定位器模式

## Intent 意义

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

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

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

0 comments on commit 340ead7

Please sign in to comment.