com.xmobitea.changx.gn-unity 2.4.5 → 2.4.6

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.
@@ -125,10 +125,10 @@
125
125
  public int status;
126
126
 
127
127
  [NumberDataMember(code = GNParameterCode.ExecutionTimeInMs)]
128
- public int executionTimeInMs;
128
+ public float executionTimeInMs;
129
129
 
130
130
  [NumberDataMember(code = GNParameterCode.MemoryUsedInBytes)]
131
- public int memoryUsedInBytes;
131
+ public float memoryUsedInBytes;
132
132
 
133
133
  [DataMember(code = GNParameterCode.FunctionResult)]
134
134
  public object functionResult;
@@ -270,8 +270,6 @@
270
270
  else if (declaredField.fieldInfo.FieldType == this.typeOfULong) declaredField.fieldInfo.SetValue(answer, Convert.ToUInt64(lastValue));
271
271
  else if (declaredField.fieldInfo.FieldType == this.typeOfDouble) declaredField.fieldInfo.SetValue(answer, Convert.ToDouble(lastValue));
272
272
  else declaredField.fieldInfo.SetValue(answer, value);
273
-
274
- declaredField.fieldInfo.SetValue(answer, lastValue);
275
273
  }
276
274
  }
277
275
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.xmobitea.changx.gn-unity",
3
- "version": "2.4.5",
3
+ "version": "2.4.6",
4
4
  "displayName": "XmobiTea GN Unity",
5
5
  "description": "XmobiTea Unity packages",
6
6
  "unity": "2020.3",