コード例 #1
0
 static int QPYX_LoadAssetBundleAsync_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 4);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         string QPYX_arg1_YXQP = ToLua.CheckString(L_YXQP, 3);
         System.Action <GameAsset.LoadedAssetBundle> QPYX_arg2_YXQP = (System.Action <GameAsset.LoadedAssetBundle>)ToLua.CheckDelegate <System.Action <GameAsset.LoadedAssetBundle> >(L_YXQP, 4);
         GameAsset.LoadedAssetBundle QPYX_o_YXQP = QPYX_obj_YXQP.LoadAssetBundleAsync(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
コード例 #2
0
 static int LoadAssetBundleAsync(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         string arg1 = ToLua.CheckString(L, 3);
         System.Action <GameAsset.LoadedAssetBundle> arg2 = (System.Action <GameAsset.LoadedAssetBundle>)ToLua.CheckDelegate <System.Action <GameAsset.LoadedAssetBundle> >(L, 4);
         GameAsset.LoadedAssetBundle o = obj.LoadAssetBundleAsync(arg0, arg1, arg2);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }