private static void GetMousedAgent() { if (EventSystem.current != null && EventSystem.current.IsPointerOverGameObject()) { return; } MouseOver(RTSInterfacing.GetScreenAgent(Input.mousePosition, (agent) => { return(agent.CanSelect && PlayerManager.ContainsController(agent.Controller)); })); }
private static void GetMousedAgent() { MouseOver(RTSInterfacing.GetScreenAgent(Input.mousePosition, (agent) => { return(agent.CanSelect && PlayerManager.ContainsController(agent.Controller)); })); }