You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A MonoBehaviour component for game preferences is attached in the RootLifetimeScope game object and registers the game default values from Inspector.
I am currently using this component with IInitializable attached to it, as it does not seem to be able to run Awake if I register it with RegisterComponent.
Is it possible to get Awake to work?
The text was updated successfully, but these errors were encountered:
I think Hadashi better to instantiate RootLifeTimeScope as DontDestroyOnLoad instead of referencing just a prefab.
I also expected Awake to work in order to execute some logic such as Resolve of some singletons in order to create them when game starts(such as CameraManager, DevConsole etc.)
Btw, how you succeeded to work it with IInitializable?
A MonoBehaviour component for game preferences is attached in the RootLifetimeScope game object and registers the game default values from Inspector.
I am currently using this component with IInitializable attached to it, as it does not seem to be able to run Awake if I register it with RegisterComponent.
Is it possible to get Awake to work?
The text was updated successfully, but these errors were encountered: