Registry / other / bevy-common-assets

bevy-common-assets

JSON →
library0.16.0rscratesunverified

Bevy plugin adding support for loading your own asset types from common file formats such as JSON and YAML.

# Cargo.toml [dependencies] bevy_common_assets = "0.16.0"
INSTALL
IMPORT
SIG · BEVY-COMMON-ASSETS
B
bevy-common-assets
otherrustv0.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonAssetPlugin
use bevy_common_assets::json::JsonAssetPlugin;

Load custom assets from JSON files in Bevy.

use bevy_common_assets::json::JsonAssetPlugin; use bevy::prelude::*; fn main() { App::new() .add_plugins(JsonAssetPlugin::<MyAsset>::new(&["json"])) .run(); } #[derive(serde::Deserialize, Asset, TypePath)] struct MyAsset { value: i32, }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.16.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Meta
2
OpenAI (training)
1
Resources
bevy-common-assets — cargo add bevy-common-assets · libregistry