Hello, I use the Addressable Assets package to create instances of my assets, and then I need to Inject them.
In the screenshot below, I use two methods of creation, asynchronous and not.
In MonoInstaller, I call one of these methods to Instantiate my asset.
And this is the Cube component:
When Asset instantiated, then Awake method called first, then Injects SettingsService and then called Start.
The question is, can I get the Awake method called after Inject in these two types of object creation? Any samples or something else, would be extremely grateful)
Hello, I use the Addressable Assets package to create instances of my assets, and then I need to Inject them. In the screenshot below, I use two methods of creation, asynchronous and not.
In MonoInstaller, I call one of these methods to Instantiate my asset.
And this is the Cube component:
When Asset instantiated, then
Awake
method called first, then InjectsSettingsService
and then calledStart
. The question is, can I get the Awake method called after Inject in these two types of object creation? Any samples or something else, would be extremely grateful)Thanks.