finally fix deserialization of the new format

This commit is contained in:
minenice55
2022-08-21 21:57:32 -04:00
parent cc577966c1
commit fe0b97d1ab
6 changed files with 47 additions and 39 deletions

View File

@ -592,10 +592,6 @@ namespace HeavenStudio.Editor.Track
{
returnVal = ((EntityTypes.Float)ep[i].parameter).val;
}
else if (propertyType == typeof(Color))
{
returnVal = new EntityTypes.SerializableColor { Color = (UnityEngine.Color) ep[i].parameter };
}
else if (propertyType.IsEnum)
{
returnVal = (int) ep[i].parameter;