From 096ac4aee8794099ba0aa8371b2418f0c2346ef3 Mon Sep 17 00:00:00 2001 From: Amber Kowalski Date: Tue, 10 Nov 2020 18:19:55 -0600 Subject: [PATCH] Explain default behavior of AssetServer in the asset_loading example (#822) Add clarification for where assets are loaded from in the`asset_loading`example --- examples/asset/asset_loading.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/asset/asset_loading.rs b/examples/asset/asset_loading.rs index e79aedcdc3..6f8921527c 100644 --- a/examples/asset/asset_loading.rs +++ b/examples/asset/asset_loading.rs @@ -15,7 +15,8 @@ fn setup( meshes: Res>, mut materials: ResMut>, ) { - // You can load individual assets like this: + // By default AssetServer will load assets from inside the "assets" folder + // For example, the next line will load "assets/models/cube/cube.gltf#Mesh0/Primitive0" let cube_handle = asset_server.load("models/cube/cube.gltf#Mesh0/Primitive0"); let sphere_handle = asset_server.load("models/sphere/sphere.gltf#Mesh0/Primitive0");