修改
This commit is contained in:
parent
dab724f74e
commit
e95b661d6a
@ -163,12 +163,11 @@ public static class UXButtonHotkeyExtension
|
||||
button._hotkeyPressType
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void UnBindHotKey(this UXButton button)
|
||||
{
|
||||
if (button == null) return;
|
||||
if (button == null || button._hotKeyRefrence == null) return;
|
||||
UXHotkeyComponent.UnregisterHotkey(button);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user