Esempio n. 1
0
 protected override void ExitedTree()
 {
     base.ExitedTree();
     StopTargeting();
     _menu.Close();
     _lockButton.OnPressed           -= OnLockPressed;
     _settingsButton.OnPressed       -= OnToggleActionsMenu;
     _loadoutContainer.OnKeyBindDown -= OnHotbarPaginate;
 }
 protected override void ExitedTree()
 {
     base.ExitedTree();
     StopTargeting();
     _menu.Close();
     _lockButton.OnPressed           -= OnLockPressed;
     _nextHotbarButton.OnPressed     -= NextHotbar;
     _previousHotbarButton.OnPressed -= PreviousHotbar;
     _settingsButton.OnPressed       -= OnToggleActionsMenu;
 }