public void HandleHighlightedChange() { if (ReplayManager.IsPlayingBack) { return; } if (Agent.IsHighlighted) { if (Agent.IsSelected) { } else { RingObject.SetState(SelectionRingState.Highlighted); } } else { if (!Agent.IsSelected) { RingObject.SetState(SelectionRingState.None); } } }
public void HandleSelectedChange() { if (!Agent.IsSelected) { if (Agent.IsHighlighted) { RingObject.SetState(SelectionRingState.Highlighted); } else { RingObject.SetState(SelectionRingState.None); } } else { RingObject.SetState(SelectionRingState.Selected); } }