bevy/examples/asset
François ce60027db7
fix example custom_asset_reader on wasm (#10574)
# Objective

- Example `custom_asset_reader` fails to build in wasm
```
$ cargo build --profile release --target wasm32-unknown-unknown --example custom_asset_reader
   Compiling bevy v0.12.0 (/Users/runner/work/bevy-website/bevy-website)
error[E0432]: unresolved import `bevy::asset::io::file`
 --> examples/asset/custom_asset_reader.rs:7:9
  |
7 |         file::FileAssetReader, AssetReader, AssetReaderError, AssetSource, AssetSourceId,
  |  
```

## Solution

- Wrap the platform default asset reader instead of the
`FileAssetReader`
2023-11-16 01:50:13 +00:00
..
processing Re-export ron in bevy_scene (#10529) 2023-11-15 14:45:54 +00:00
asset_loading.rs Remove monkey.gltf (#9974) 2023-09-30 02:50:31 +00:00
custom_asset_reader.rs fix example custom_asset_reader on wasm (#10574) 2023-11-16 01:50:13 +00:00
custom_asset.rs Re-export ron in bevy_scene (#10529) 2023-11-15 14:45:54 +00:00
hot_asset_reloading.rs Multiple Asset Sources (#9885) 2023-10-13 23:17:32 +00:00