Updates to note paramaters + some additional sound fixes (for r2) (#834)

* Note param stuff + some other fixes

* Stuff just for r2
This commit is contained in:
EpicGamer2469
2024-04-07 21:18:51 -05:00
committed by GitHub
parent 203f7f4c02
commit af217a23e9
32 changed files with 765 additions and 360 deletions

View File

@ -278,6 +278,10 @@ namespace HeavenStudio
JArray values = e[param.propertyName]["Values"];
e.dynamicData[param.propertyName] = new EntityTypes.DropdownObj((int)value, values.Select(x => (string)x).ToList());
}
else if (type == typeof(EntityTypes.NoteSampleDropdown))
{
e.dynamicData[param.propertyName] = (int)e[param.propertyName];
}
else if (type == typeof(EntityTypes.Resource))
e.dynamicData[param.propertyName] = (EntityTypes.Resource)e[param.propertyName];
else if (type.IsEnum)