From dbd86d192c82eb4d5c1c5c478bbf95938eb0c78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvinas=20Danevi=C4=8Dius?= Date: Sat, 3 Oct 2020 20:30:13 +0200 Subject: [PATCH] Update README.md --- Documentation/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/README.md b/Documentation/README.md index 9f6c46f..4806277 100644 --- a/Documentation/README.md +++ b/Documentation/README.md @@ -2,7 +2,7 @@ ## Game Events

- Diagram showing how data is shared using events. + Diagram showing how data is shared using events.

Game events allow to decouple prefabs from direct dependencies such as scene or nested prefab game objects. The biggest benefit of events is that they can be referenced in isolated prefabs, this allows to later avoid having to set them up in the scene. @@ -90,7 +90,7 @@ Import the `GameEvents` sample which shows how to use game events in various sit ## Mutable Objects

- Diagram showing how data is shared when using mutable objects. + Diagram showing how data is shared when using mutable objects.

Mutable objects allow using `ScriptableObject` assets to store and share data. They are handy when a lot of behaviours need access to specific data. In such cases, mutable objects can be injected in dependant behaviours instead of forming hard dependencies between them or using singletons.