Add ReadCommonValue support.

This commit is contained in:
Jean-Baptiste Perrier
2021-04-08 18:58:13 +02:00
parent f6a6e298e0
commit 3bbeae15f2

View File

@@ -692,6 +692,21 @@ namespace FlaxEditor.Utilities
new Vector3(stream.ReadSingle(), stream.ReadSingle(), stream.ReadSingle()));
break;
}
case 19: // CommonType::Int2
{
value = stream.ReadInt2();
break;
}
case 20: // CommonType::Int3
{
value = stream.ReadInt3();
break;
}
case 21: // CommonType::Int4
{
value = stream.ReadInt4();
break;
}
default: throw new SystemException();
}
}