1
0
mirror of https://github.com/originalnicodr/CinematicUnityExplorer.git synced 2026-10-10 13:03:15 +08:00
This commit is contained in:
Sinai
2022-04-01 01:31:53 +11:00
@@ -73,7 +73,11 @@ namespace UnityExplorer.Loader.Standalone
return bool.Parse(value);
else if (elementType == typeof(int))
return int.Parse(value);
else
else if (elementType == typeof(float))
return float.Parse(value);
else if (elementType.IsEnum)
return Enum.Parse(elementType, value);
else
return value;
}