1 2 3 4 5 6 7 8
use bevy::asset::Asset; use bevy::prelude::TypePath; use serde::Deserialize; #[derive(Deserialize, Asset, TypePath)] pub struct WorldConfig { pub gravity: f64 }