Add serialize feature to bevy_transform #6378
Labels
A-Transform
Translations, rotations and scales
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
bevy_transform
is missing a feature corresponding to the top-levelserialize
feature. This makes it inconsistent withbevy_input
,bevy_time
, etc. and makes serializingTransform
s withserde
a non-trivial task.What solution would you like?
Transform
andGlobalTransform
implementserde::Serialize
andserde::Deserialize
whenserialize
feature is enabled.What alternative(s) have you considered?
This can often be worked around by using
serde
's remote def method.The text was updated successfully, but these errors were encountered: