Crate bevy_assets_reflect

Crate bevy_assets_reflect 

Source
Expand description

§bevy_assets_reflect

Crates.io Documentation MIT/Apache 2.0

Simple package for adding assets loaders for types that implement Reflect and Asset trait. It can be used for types that don’t implement Serialize or Deserialize traits thanks to using the Bevy reflect serialization.

For adding use add plugins API, for example:

app.add_plugins(bevy_assets_reflect::JsonReflectAssetPlugin::<SomeType>::new(
            &["that_type.json"]
        ));

§License

bevy_assets_reflect is dual-licensed under MIT and Apache 2.0 at your option.

§Compatibility

bevybevy_assets_reflect
0.170.1

Structs§

JsonReflectAssetPlugin
Plugin to load your asset type A from json files.
ReflectionAssetLoader

Enums§

ReflectLoaderError