static int LoadObjects(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); GameAsset.LoadObjects(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }