Пример #1
0
 private static void FireOnTargetSwitch(Obj_AI_Base newTarget)
 {
     if (OnTargetChange != null && (_lastTarget == null || _lastTarget.NetworkId != newTarget.NetworkId))
     {
         Orbwalker.HighlightTarget(newTarget);
         Orbwalker.HighlightTarget(_lastTarget, false);
         OnTargetChange(_lastTarget, newTarget);
     }
 }