You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
463 B
15 lines
463 B
//! Common module to handle asset loading and adding visual components |
|
//! (such as [`Mesh`]) to entities when they are spawned from the server. |
|
//! |
|
//! This doesn't mean this is the only place assets are loaded. |
|
//! For example UI related assets may be loaded in `ui` plugins. |
|
|
|
use bevy::prelude::*; |
|
|
|
pub mod block_visuals; |
|
pub mod player; |
|
|
|
pub(super) fn plugin(app: &mut App) { |
|
app.add_plugins(block_visuals::plugin); |
|
app.add_plugins(player::plugin); |
|
}
|
|
|