Initial Commit

This commit is contained in:
2026-03-16 14:38:46 +02:00
commit b8f7327a21
2327 changed files with 253610 additions and 0 deletions
@@ -0,0 +1,21 @@
namespace Zenject
{
// This is installed by default in ProjectContext, however, if you are using Zenject outside
// of Unity then you might want to call this
//
// In this case though, you will have to manually call InitializableManager.Initialize,
// DisposableManager.Dispose, TickableManager.Tick, etc. when appropriate for the environment
// you are working in
//
// You might also want to use this installer in a ZenjectUnitTestFixture
public class ZenjectManagersInstaller : Installer<ZenjectManagersInstaller>
{
public override void InstallBindings()
{
Container.Bind(typeof(TickableManager), typeof(InitializableManager), typeof(DisposableManager))
.ToSelf().AsSingle().CopyIntoAllSubContainers();
}
}
}