diff --git a/assets/trees.level.json b/assets/trees.TerrainLine.json similarity index 100% rename from assets/trees.level.json rename to assets/trees.TerrainLine.json diff --git a/examples/json.rs b/examples/json.rs index c753201..55f531a 100644 --- a/examples/json.rs +++ b/examples/json.rs @@ -6,7 +6,7 @@ fn main() { App::new() .add_plugins(( DefaultPlugins, - JsonAssetPlugin::::new(&["level.json"]), + JsonAssetPlugin::::new(&["TerrainLine.json"]), )) .init_state::() .add_systems(Startup, setup) @@ -15,7 +15,7 @@ fn main() { } fn setup(mut commands: Commands, asset_server: Res) { - let level = LevelHandle(asset_server.load("trees.level.json")); + let level = LevelHandle(asset_server.load("trees.TerrainLine.json")); commands.insert_resource(level); let tree = ImageHandle(asset_server.load("tree.png")); commands.insert_resource(tree);