From b03703eddaf951c9cb6ca7504d4317a8d633b7e3 Mon Sep 17 00:00:00 2001 From: A F <49113047+arty-F@users.noreply.github.com> Date: Tue, 11 Jun 2024 01:24:01 +0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 24ee50e..8204899 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ InjectedComponent typedInstance = Instantiate(_typedPrefab); typedInstance.Inject(); ``` -3. Resolve dependencies of injection consumer classes by invoking `Resolve()` method. Or you can use `GameObject` extension method on prefab to one row instantiate and resolving dependencies (has 9 overloads like original Instantiate method). +3. Resolve dependencies of injection consumer classes by invoking `Resolve()` method. Or you can use `GameObject` extension method on prefab to one row instantiate and resolving dependencies (has 9 overloads like original Instantiate method). After `GameObject` resolving all injected dependencies will be available in `Start` method (in `Awake` and `OnEnable` they still will be `null`). ```csharp using UniDI; ...