public void Focus(string component, bool force_focus) { if (this.selected == "" || force_focus) { right_input.text = component; focused = component; component_content.GetComponent <Text>().text = ship.GetComponentDescription(focused); placement_overlay.transform.position = ship.GetPosition(component); placement_overlay.GetComponent <SpriteRenderer>().size = ship.GetSize(component); placement_overlay.GetComponent <SpriteRenderer>().sprite = OverlaySelected; } }