Update crates/bevy_asset/src/http_source.rs
Co-authored-by: atlv <email@atlasdostal.com>
This commit is contained in:
parent
3afe6bd1c0
commit
1c93df0622
@ -8,6 +8,8 @@ use std::path::{Path, PathBuf};
|
|||||||
|
|
||||||
/// Adds the `http` and `https` asset sources to the app.
|
/// Adds the `http` and `https` asset sources to the app.
|
||||||
///
|
///
|
||||||
|
/// NOTE: Make sure to add this plugin *before* `AssetPlugin` to properly register http asset sources.
|
||||||
|
///
|
||||||
/// Any asset path that begins with `http` (when the `http` feature is enabled) or `https` (when the
|
/// Any asset path that begins with `http` (when the `http` feature is enabled) or `https` (when the
|
||||||
/// `https` feature is enabled) will be loaded from the web via `fetch`(wasm) or `ureq`(native).
|
/// `https` feature is enabled) will be loaded from the web via `fetch`(wasm) or `ureq`(native).
|
||||||
pub struct HttpSourcePlugin;
|
pub struct HttpSourcePlugin;
|
||||||
|
Loading…
Reference in New Issue
Block a user