adrien-bon / bevy_ecs_tiled

Helpers for working with 2D tilemaps created with the Tiled map editor
MIT License
35 stars 8 forks source link

Support non-unit enums user properties #49

Open adrien-bon opened 1 week ago

adrien-bon commented 1 week ago

When mapping user properties to Bevy components from Tiled, we currently only support "unit" enums. We would like to also support "tuples" and "struct" enums. See: https://docs.rs/bevy_reflect/latest/bevy_reflect/trait.Enum.html