Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/arty-F/UniDI
Browse files Browse the repository at this point in the history
  • Loading branch information
arty-F committed Jul 10, 2024
2 parents e0be02b + b03703e commit 116ea0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
...
Expand Down

0 comments on commit 116ea0c

Please sign in to comment.