-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Description
Bevy version
0.15.1
Summary
i.e.
registry.register_type::<(usize,usize)>();will not register a ReflectFromReflect type data against the tuple.
for it to take, you have to manually do it via:
registry.register_type_data::<usize, ReflectFromReflect>This means if I want to construct arbitrary types like:
stuct MyStruct {
pub foo: (usize,usize)
}I have to always do that manual registration
Metadata
Metadata
Assignees
Labels
A-ReflectionRuntime information about typesRuntime information about typesC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong