Ejemplo n.º 1
0
 internal void OnDestroy()
 {
     StopAllCoroutines();
     dictionary.Clear();
     dictionary         = null;
     LogicMgr.mInstance = null;
 }
Ejemplo n.º 2
0
 public FrameworkServer()
 {
     Bootstrapper.Initialise();
     Csl.Wl("开始构建内核...");
     _knl  = new Kernel();
     _lgcs = new LogicMgr();
     Composition.Initialize(_knl, _lgcs);
     Csl.Wl("开始进行MEF注入,可能需要1-5秒。。。");
     Csl.Wl("开始加载模块...");
     LoadLgcs();
     Csl.Wl("模块加载完成。");
     Csl.Wl("内核构建完成。");
     LogHelper.Info("内核构建完成。");
     Csl.Wl(ConsoleColor.Yellow, "输入help查看相关command操作。");
     Csl.Wl(ConsoleColor.Yellow, "输入exit退出。");
 }
Ejemplo n.º 3
0
 internal void Ctor(LogicMgr lgcs)
 {
     _lgcs = lgcs;
 }