Add TypePath to the prelude (#9963)
# Objective In order to derive `Asset`s (v2), `TypePath` must also be implemented. `TypePath` is not currently in the prelude, but given it is *required* when deriving something that *is* in the prelude, I think it deserves to be added. ## Solution Add `TypePath` to `bevy_reflect::prelude`.
This commit is contained in:
parent
7a72bac779
commit
f8fd93f418
@ -515,6 +515,7 @@ pub mod prelude {
|
||||
pub use crate::{
|
||||
reflect_trait, FromReflect, GetField, GetPath, GetTupleStructField, Reflect,
|
||||
ReflectDeserialize, ReflectFromReflect, ReflectPath, ReflectSerialize, Struct, TupleStruct,
|
||||
TypePath,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user