示例#1
0
 static int LoadAsset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         string arg0 = ToLua.CheckString(L, 1);
         System.Action <UnityEngine.Object> arg1 = (System.Action <UnityEngine.Object>)ToLua.CheckDelegate <System.Action <UnityEngine.Object> >(L, 2);
         GameAsset.LoadAsset(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }