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