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:
derive ReflectComponent or ReflectBundle trait
derive ReflectResource trait
are used by a type which derive one of these traits (this is actually the hard part)
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:
ReflectComponent
orReflectBundle
traitReflectResource
trait