add Zenject / add UniTask

This commit is contained in:
2023-05-30 13:23:40 +05:00
parent 3746d6e49c
commit 1487259661
1742 changed files with 106798 additions and 101 deletions
@@ -0,0 +1,33 @@
#if !NOT_UNITY3D
using System;
using UnityEngine;
namespace Zenject
{
// We'd prefer to make this abstract but Unity 5.3.5 has a bug where references
// can get lost during compile errors for classes that are abstract
public class ScriptableObjectInstallerBase : ScriptableObject, IInstaller
{
[Inject]
DiContainer _container = null;
protected DiContainer Container
{
get { return _container; }
}
bool IInstaller.IsEnabled
{
get { return true; }
}
public virtual void InstallBindings()
{
throw new NotImplementedException();
}
}
}
#endif