Beispiel #1
0
 public static int LoadPrefabObj_wrap(long L)
 {
     try
     {
         long   nPtr    = FCLibHelper.fc_await(L);
         long   nRetPtr = FCLibHelper.fc_get_return_ptr(L);
         string arg0    = FCLibHelper.fc_get_string_a(L, 0);
         LoadPrefabObj_bridge(nPtr, nRetPtr, arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
    public static int WaitLoadPrefab_wrap(long L)
    {
        try
        {
            long   nPtr    = FCLibHelper.fc_await(L);
            long   nRetPtr = FCLibHelper.fc_get_return_ptr(L);
            string arg0    = FCLibHelper.fc_get_string_a(L, 0);
            float  arg1    = FCLibHelper.fc_get_float(L, 1);

            // 手动调用这个接口
            Instance.PushLoadTask(nPtr, nRetPtr, arg0, arg1);
        }
        catch (Exception e)
        {
            Debug.LogException(e);
        }
        return(0);
    }