Esempio n. 1
0
 public void ReleaseMainLuaRunner()
 {
     if (MainLuaRunner != null)
     {
         MainLuaRunner.Release();
         MainLuaRunner = null;
     }
 }
Esempio n. 2
0
 public void InitMainLuaRunner()
 {
     MainLuaRunner = new LuaRunner();
     if (GameCenter.s_ConfigManager.GlobalGameConfig.LuaScriptLoadMode ==
         GameConfig.LuaScriptLoadModeEnum.RawFileMode)
     {
         MainLuaRunner.Init(OnRawFileModeLoad);
     }
     else
     {
         MainLuaRunner.Init(OnBundleModeLoad);
     }
 }