GameObjectInstaller

The installers in the scene must be derived from this class and referenced in any context in the scene.

Sample uses:

public class AppInstaller : GameObjectInstaller
{
    public override void Install(DIContainer container)
    {
       container.Bind<Foo>();

        FooInstaller.CreateAndInstall(container);
    }
}
internal class TarjectDemoSceneInstaller : GameObjectInstaller
{
    public override void Install(DIContainer container)
    {
        container.Bind<Foo>();

        FooInstaller.CreateAndInstall(container);
    }
}

Last updated