/// <summary> /// Highlights or removes a highlight from a unit. /// </summary> public static void HighlightTarget(Obj_AI_Base target, bool showHighlight = true) { if (!_config.Item("Highlight").GetValue <bool>() || !(target is Obj_AI_Hero)) { return; } Utility.HighlightUnit(target, showHighlight); }