Update example doc link for ImageLoaderSettings. (#19565)

Link in the "asset settings" example. The struct was moved.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: theotherphil <phil.j.ellison@gmail.com>
This commit is contained in:
Al M. 2025-06-11 15:43:40 -07:00 committed by GitHub
parent 98a46f79df
commit 0d620cdf29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
// filtering. This tends to work much better for pixel art assets.
// A good reference when filling this out is to check out [ImageLoaderSettings::default()]
// and follow to the default implementation of each fields type.
// https://docs.rs/bevy/latest/bevy/render/texture/struct.ImageLoaderSettings.html#
// https://docs.rs/bevy/latest/bevy/image/struct.ImageLoaderSettings.html
commands.spawn((
Sprite {
image: asset_server.load("bevy_pixel_dark_with_meta.png"),