public void Deselect() { this.selected = ""; this.focused = ""; right_input.text = selected; right_input.interactable = false; component_content.GetComponent <Text>().text = Prefabs[GetActiveToggle()].GetComponent <ComponentController>().GetDescription(); placement_overlay.GetComponent <SpriteRenderer>().sprite = Overlay; ship.EnableColliders(); recently_unfocused = .5f; SwitchLeftView(Components); placement_overlay.GetComponent <SpriteRenderer>().size = Prefabs[GetActiveToggle()].GetComponent <ComponentController>().GetMinimumSize(); foreach (Transform child in transform.Find("PlacementOverlay")) { child.gameObject.SetActive(false); } }