Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a getter for asset watching status on
AssetServer
(bevyengine#1…
…1578) # Objective - Closes bevyengine#11490. - Allow retrieving the current asset watch behavior from the `AssetServer`. ## Solution - Add the corresponding getter. (also fixes some trailing whitespace). A corresponding helper could also be added on the `AssetPlugin` struct (returning `self.watch_for_changes_override.unwrap_or(cfg!(feature = "watch"))`), but it seems it isn't a current practice to have actual methods on the plugin structs appart from the `Plugin` impl. --- ## Changelog ### Added Added `watching_for_changes` getter on `AssetServer`. --------- Co-authored-by: Mateusz Wachowiak <mateusz_wachowiak@outlook.com>
- Loading branch information