void Update() { //Clear the highlight if there's no mouse button held down. // Fixes problems for us, but makes this class a bit less abstract. Oh well. if(!Input.GetMouseButton(0)) { highlight(null, Color.black); } }