forked from ssannandeji/Zenject-2019
-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Description
Describe the bug
Following this issue: https://stackoverflow.com/questions/45970666/zenject-install-generic-binding
I'm having the same bug with trying to bind a generic with installer
To Reproduce
Create a installer:
using UnityEngine;
using Zenject;
public class EntityHandlerInstaller : MonoInstaller
{
public override void InstallBindings()
{
Container.Bind(typeof(IEntityHandlerSystem<>)).To(typeof(EntityHandlerSystem<>)).AsSingle();
}
}
Expected behavior
To use generics
Extenject and Unity info (please complete the following information):
- Zenject version: Unity Plugin
- Unity version: Unity 6
Metadata
Metadata
Assignees
Labels
No labels