![]() # Objective Right now, if you call `embedded_asset` with 2 arguments as a qualified path it doesn't work (`bevy::asset::embedded_asset!(app, "foo.wgsl")` -> "cannot find macro `embedded_asset` in this scope") ## Solution Use `$crate::` in expansion for 2-arg case. |
||
---|---|---|
.. | ||
io | ||
processor | ||
server | ||
assets.rs | ||
event.rs | ||
folder.rs | ||
handle.rs | ||
id.rs | ||
lib.rs | ||
loader.rs | ||
meta.rs | ||
path.rs | ||
reflect.rs | ||
saver.rs | ||
transformer.rs |