I've created the installer, created a prefab with the script and then attached it to the SceneContext. But When I run I get this error
"ZenjectException: Assert hit! Found prefab with name 'Installer' in the Installer property of Context 'SceneContext'. You should use the property 'InstallerPrefabs' for this instead."
public class DefaultInstaller : MonoInstaller
{
public override void InstallBindings()
{
Container.Bind<IController>().To<RandomNumberController>().AsSingle();
}
}
Any suggestions?