jukibom / FlyDangerous

A love letter to the Elite Dangerous racing community ❤
https://store.steampowered.com/app/1781750/Fly_Dangerous/
GNU General Public License v3.0
270 stars 21 forks source link

Convert FdEnums to ScriptableObjects #228

Open jukibom opened 1 year ago

jukibom commented 1 year ago

I get the feeling that using a custom enum implementation (FdEnum) was a bit much, and while there are some benefits there like the ability to populate dropdowns and perform lookups, it makes managing things like level data more painful than it should be. Adding new levels is fine but the ordering and working on which music is which etc is very much a painful task.

These could be better potentially with a LevelDatabase master SO which holds references to Level SOs and, potentially, some editor panel which allows changing the json metadata directly would be incredibly useful while still providing the dropdown population stuff from the SO or a base class (re-organising the music recently was a bit of a wakeup call!)