Automatically resize your Bevy app on the web (wasm) to the size of the browser window
Automatically resize your Bevy app on the web (wasm) to the size of the browser window.
#[cfg(target_arch = "wasm32")]
{
app.add_plugin(bevy_web_resizer::Plugin);
}
⚠️ Note: this functionality is now built into Bevy and this crate will no longer be maintained.