com.xmobitea.changx.gn-unity 2.4.9 → 2.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -370,7 +370,7 @@
370
370
  return answer;
371
371
  }
372
372
 
373
- private System.Collections.IList castList(System.Collections.IList objectLst, System.Type cls, bool isArray)
373
+ public System.Collections.IList castList(System.Collections.IList objectLst, System.Type cls, bool isArray)
374
374
  {
375
375
  if (isArray)
376
376
  {
@@ -596,7 +596,9 @@
596
596
  /// <returns>A list of deserialized elements.</returns>
597
597
  public static System.Collections.IList deserializeArray(GNArray gnArray, Type cls)
598
598
  {
599
- return ConverterService.deserializeConverter.deserializeArray(gnArray, cls);
599
+ var answer = ConverterService.deserializeConverter.deserializeArray(gnArray, cls);
600
+
601
+ return ConverterService.deserializeConverter.castList(answer, cls, false);
600
602
  }
601
603
 
602
604
  /// <summary>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.xmobitea.changx.gn-unity",
3
- "version": "2.4.9",
3
+ "version": "2.4.10",
4
4
  "displayName": "XmobiTea GN Unity",
5
5
  "description": "XmobiTea Unity packages",
6
6
  "unity": "2020.3",