public static void ClearSelectedAbility() { pendingAbilityIdx = -1; if (AbilityManager.InTargetSelectionMode()) { AbilityManager.ClearSelect(); } }