fix event
This commit is contained in:
@@ -6,14 +6,14 @@ namespace example
|
||||
{
|
||||
void ui_layer_double::on_attach()
|
||||
{
|
||||
m_key = VE::CONNECT(this);
|
||||
VE::CONNECT(this);
|
||||
|
||||
hack::log()("on_attach");
|
||||
}
|
||||
|
||||
void ui_layer_double::on_detach()
|
||||
{
|
||||
VE::DISCONNECT(m_key);
|
||||
VE::DISCONNECT(this);
|
||||
hack::log()("on_detach");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user