// Update is called once per frame void Update() { if (mouseOver) { if (Input.GetMouseButtonDown(0)) { selector.SelectMinion(gameObject); } } }