Mattshark89 / OpenFlight-VRC

MIT License
46 stars 33 forks source link

[IMPROVEMENT] Change flightMode over to a enum #51

Closed Happyrobot33 closed 4 months ago

Happyrobot33 commented 1 year ago

Self explanatory, basically cleanup openflight.cs to use a enum for declaring the flightmode instead of a string. Will probably require some additional UI components to properly handle enums

Happyrobot33 commented 7 months ago

Reason this has not been resolved is due to how enums are completely destroyed to integers at build time. Would need a editor script that saves what the enum names are at build time in a array in order to correlate back when we go to display them on the tablet