Beispiel #1
0
 public void ReleaseLuas()
 {
     if (luaCaching == null)
     {
         Logger.LogError("lua cache is null, can not release!");
         return;
     }
     luaAsyncLoader.Dispose();
     luaAsyncLoader = null;
     luaCaching     = null;
 }
Beispiel #2
0
 public LuaAsyncLoader LoadLuaAsync(string[] luaPaths)
 {
     luaAsyncLoader = LuaAsyncLoader.Get();;
     luaAsyncLoader.Init(luaPaths);
     return(luaAsyncLoader);
 }