Skip to content

Commit

Permalink
feat: register types GridCoords and LayerMetadata (#146)
Browse files Browse the repository at this point in the history
Types need to be registered for `bevy-inspector-egui` (and other tools)
to know about them. Do it in the plugin so it's convenient for users.
  • Loading branch information
johanhelsing committed Dec 11, 2022
1 parent fb17ae1 commit ed4a0f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Expand Up @@ -206,7 +206,9 @@ mod plugin {
systems::detect_level_spawned_events
.pipe(systems::fire_level_transformed_events)
.label(LdtkSystemLabel::Other),
);
)
.register_type::<GridCoords>()
.register_type::<LayerMetadata>();
}
}
}
Expand Down

0 comments on commit ed4a0f9

Please sign in to comment.