static int LoadAssets(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); string[] arg0 = ToLua.CheckStringArray(L, 1); System.Action <int, UnityEngine.Object> arg1 = (System.Action <int, UnityEngine.Object>)ToLua.CheckDelegate <System.Action <int, UnityEngine.Object> >(L, 2); System.Collections.IEnumerator o = GameAsset.LoadAssets(arg0, arg1); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }