mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
UiXmlReader added (WIP)
This commit is contained in:
parent
e9efdb0e7b
commit
86412a28ec
6 changed files with 269 additions and 13 deletions
|
|
@ -123,7 +123,7 @@ std::shared_ptr<UINode> HudRenderer::createDebugPanel(Engine* engine) {
|
|||
});
|
||||
box->setOnEditStart([=](){
|
||||
Hitbox* hitbox = level->player->hitbox.get();
|
||||
box->text(std::to_wstring(int(hitbox->position[ax])));
|
||||
box->setText(std::to_wstring(int(hitbox->position[ax])));
|
||||
});
|
||||
|
||||
sub->add(box);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue