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
[CreateAssetMenu(fileName = "DependenciesInstaller", menuName = "Installers/DependenciesInstaller")]
public class DependenciesInstaller : ScriptableObjectInstaller<DependenciesInstaller>
{
public override void InstallBindings()
{
Container.Bind<IGameRepository>().To<GameRepositoryMock>().AsSingle().NonLazy();
Container.Bind<IAuthRepository>().To<AuthRepository>().AsSingle().NonLazy();
}
}
On one of the scenes I have some objects that use
public class LettersPanelController : BaseListenableMonoBehaviour
{
[Inject]
private readonly IGameRepository gameRepository;
...
}
And just near 1 sec after starting the scene i got message that my object (LettersPanelController ) was destroyed.
It is some error of ProjectContext, I suppose, because before it, I used only SceneContext(with installer) and it worked
The text was updated successfully, but these errors were encountered:
I am using ProjectContext with next installer:
On one of the scenes I have some objects that use
And just near 1 sec after starting the scene i got message that my object (LettersPanelController ) was destroyed.
It is some error of ProjectContext, I suppose, because before it, I used only SceneContext(with installer) and it worked
The text was updated successfully, but these errors were encountered: