private void Update() { //If the mouse hovers over the tile and mouse1 is pressed then we draw. if (Input.GetKey(KeyCode.Mouse0) && hover) { se.OnMousePress(this); } }