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:
Christian Hughes 2023-09-29 03:27:30 -05:00 committed by GitHub
parent 7a72bac779
commit f8fd93f418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -515,6 +515,7 @@ pub mod prelude {
pub use crate::{
reflect_trait, FromReflect, GetField, GetPath, GetTupleStructField, Reflect,
ReflectDeserialize, ReflectFromReflect, ReflectPath, ReflectSerialize, Struct, TupleStruct,
TypePath,
};
}