void UpdateInput() { if (Input.GetMouseButtonDown(0)) { selected = hover; if (selected != null) { selected.Click(); } } }