pub trait GamePlugin {
// Required methods
fn initialize(&self, app: &mut App);
fn register(&self, world: &mut World, prefabs: PrefabData);
unsafe fn spawn_custom(
&self,
entity: &mut EntityMut<'_>,
custom: *const u8,
custom_len: usize,
custom_state: *const u8,
custom_state_len: usize,
);
}