39 lines
881 B
C#
39 lines
881 B
C#
namespace FlowerPower
|
|
{
|
|
|
|
public abstract class BaseUnityManager<T> : SingletonUnity<T>, InterfaceManager
|
|
where T : BaseUnityManager<T>
|
|
{
|
|
public bool IsInit { get; private set; }
|
|
public bool IsStartUp { get; private set; }
|
|
public bool IsDispose { get; private set; }
|
|
|
|
protected override string ParentRootName
|
|
{
|
|
get { return AppObjConst.MonoManagerGoName; }
|
|
}
|
|
|
|
protected override void New()
|
|
{
|
|
base.New();
|
|
IsDispose = false;
|
|
}
|
|
|
|
public virtual void Init()
|
|
{
|
|
IsInit = true;
|
|
}
|
|
|
|
public virtual void StartUp()
|
|
{
|
|
IsStartUp = true;
|
|
}
|
|
|
|
public virtual void DisposeBefore()
|
|
{
|
|
IsDispose = true;
|
|
IsInit = false;
|
|
IsStartUp = false;
|
|
}
|
|
}
|
|
} |