示例#1
0
 private EngineManger()
 {
     if (_insatnce != null)
     {
         throw new Exception("单例错误");
     }
     _insatnce = this;
     Init();
 }
示例#2
0
 private void RunGame()
 {
     //  开始我的项目啦^_^
     EngineManger.GetInstance().AddCompentToGo(gameObject, "SceneMananger");
     DestroyImmediate(this);
 }