public static void UnselectAgent(LSAgent agent)
 {
     if (agent.IsNotNull())
     {
         Selector.Remove(agent);
     }
 }
 public static void SelectAgent(LSAgent agent)
 {
     if (agent.IsNotNull())
     {
         Selector.Add(agent);
     }
 }
        private static void MouseOver(LSAgent agent)
        {
            if (MousedAgent.RefEquals(agent))
            {
                return;
            }

            if (MousedAgent.IsNotNull())
            {
                MousedAgent.IsHighlighted = false;
            }

            MousedAgent = agent;

            if (agent.IsNotNull())
            {
                if (SelectionManager.Boxing == false)
                {
                    agent.IsHighlighted = true;
                }
            }
        }
        private static void MouseOver(LSAgent agent)
        {
            if (MousedAgent.RefEquals (agent)) {
                return;
            }

            if (MousedAgent .IsNotNull ()) {
                MousedAgent.IsHighlighted = false;
            }

            MousedAgent = agent;

            if (agent .IsNotNull ()) {
                if (SelectionManager.Boxing == false)

                agent.IsHighlighted = true;
            }
        }
 public static void UnselectAgent(LSAgent agent)
 {
     if (agent .IsNotNull ()) {
         agent.IsSelected = false;
         Selector.Remove (agent);
     }
 }
 public static void SelectAgent(LSAgent agent)
 {
     if (agent .IsNotNull ()) {
         agent.IsSelected = true;
         Selector.Add (agent);
     }
 }