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

Restrict Tiled exports only to Components and Resources #50

Open adrien-bon opened 1 week ago

adrien-bon commented 1 week ago

Currently, we export all types that have been registered in bevy_reflect. While it works, this is sub-optimal: in the end, we are only interested in the types we will be actually able to use, ie. Components and Resources. It leads to a lot of clutter in the TIled interface.

A solution to this would be to only register types that either: