Skip to content

Commit

Permalink
show entity id in inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Apr 3, 2021
1 parent b000779 commit 6856d89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions native_app/src/gui/inspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ impl InspectRenderer {
}

pub fn render(&self, uiworld: &mut UiWorld, goria: &Egregoria, ui: &Ui) {
ui.text(im_str!("{:?}", self.entity));
self.inspect_component::<Transform>(goria, ui);
self.inspect_component::<Vehicle>(goria, ui);
self.inspect_component::<Pedestrian>(goria, ui);
Expand Down

0 comments on commit 6856d89

Please sign in to comment.