add on detach
This commit is contained in:
@@ -11,6 +11,12 @@ namespace example
|
||||
hack::log()("on_attach");
|
||||
}
|
||||
|
||||
void ui_layer::on_detach()
|
||||
{
|
||||
VE::DISCONNECT(this);
|
||||
hack::log()("on_detach");
|
||||
}
|
||||
|
||||
void ui_layer::render()
|
||||
{
|
||||
ImGui::SetNextWindowPos(m_pos);
|
||||
|
||||
Reference in New Issue
Block a user