diff --git a/_text/15-service-locator.md b/_text/15-service-locator.md index 6116446..9a6aafb 100644 --- a/_text/15-service-locator.md +++ b/_text/15-service-locator.md @@ -31,4 +31,9 @@ Unity has implemented this pattern in the form of the GetComponent() method. - **Facade.** You can use Facade in combination with Service Locator. -## [Back](../) \ No newline at end of file +Here is an example implementation of the Service Locator pattern as a Unity UPM package: + +https://github.com/PixelWizards/com.pixelwizards.servicelocator + + +## [Back](../) diff --git a/_text/18-object-pool.md b/_text/18-object-pool.md index bdc25c8..b6280e8 100644 --- a/_text/18-object-pool.md +++ b/_text/18-object-pool.md @@ -28,5 +28,9 @@ This pattern is so popular Unity has implemented their own version of it called - **Prototype.** +PixelWizards has published an example implementation of Object Pooling as a UPM package that can be used in your own projects: -## [Back](../) \ No newline at end of file +https://github.com/PixelWizards/com.pixelwizards.objectpool + + +## [Back](../) diff --git a/_text/5-singleton.md b/_text/5-singleton.md index 245f0d5..603a214 100644 --- a/_text/5-singleton.md +++ b/_text/5-singleton.md @@ -35,4 +35,8 @@ You tend to use the Singleton pattern because you want an easy access to that sc - **One Singleton.** Have just one Singleton class and all managers that used to be Singletons are collected in this class. If you need the SaveGame object, you type GameController.Instance.getSaveGameManager(). -## [Back](../) \ No newline at end of file +# Unity UPM Package +You can find an example Singleton implementation as a Unity UPM package here: +https://github.com/PixelWizards/com.pixelwizards.singleton + +## [Back](../)