public static List <float> GetList(ref List <float> rList, long L, int nIndex)
 {
     try
     {
         long VM = FCLibHelper.fc_get_vm_ptr(L);
         if (rList == null)
         {
             rList = new List <float>();
         }
         else
         {
             rList.Clear();
         }
         long    ptr        = FCLibHelper.fc_get_param_ptr(L, nIndex);
         int     nArraySize = FCLibHelper.fc_get_array_size(ptr);
         float[] buffer     = new float[nArraySize];
         FCLibHelper.fc_get_array_float(ptr, buffer, 0, nArraySize);
         rList.AddRange(buffer);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(rList);
 }