void OnDisable() { Mod.Debug(MethodBase.GetCurrentMethod()); EventBus.Unsubscribe(this); HotkeyHelper.Unbind(HOTKEY_FOR_TOGGLE_ATTACK_INDICATOR, HandleToggleAttackIndicator); }
public void HandleModDisable() { Mod.Debug(MethodBase.GetCurrentMethod()); EventBus.Unsubscribe(this); HotkeyHelper.Unbind(HOTKEY_FOR_TOGGLE_HUD, HandleToggleHUD); HotkeyHelper.Unbind(HOTKEY_FOR_TOGGLE_STEALTH, HandleToggleStealth); HotkeyHelper.Unbind(HOTKEY_FOR_TOGGLE_AI, HandleToggleAI); }
void OnDisable() { Mod.Debug(MethodBase.GetCurrentMethod()); HotkeyHelper.Unbind(HOTKEY_FOR_END_TURN, HandleClickEndTurn); HotkeyHelper.Unbind(HOTKEY_FOR_DELAY, HandleClickDelay); HotkeyHelper.Unbind(HOTKEY_FOR_FIVE_FOOT_STEP, HandleClickFiveFootStep); HotkeyHelper.Unbind(HOTKEY_FOR_FULL_ATTACK, HandleClickFullAttack); ClearUnits(); HoveringUnit = null; _canvasGroup.DOKill(); _body.DOKill(); }
void OnDisable() { Mod.Debug(MethodBase.GetCurrentMethod()); HotkeyHelper.Unbind(HOTKEY_FOR_TOGGLE_MOVEMENT_INDICATOR, HandleToggleMovementIndicator); }