private void SwitchDisplayToMutableValue() { LiteralValueDisplayPanel.SetActive(false); MutableValueDisplayPanel.SetActive(true); BoundsChanged(); }
private void SwitchDisplayToLiteralValue() { LiteralValueDisplayPanel.SetActive(true); MutableValueDisplayPanel.SetActive(false); GetComponent <LayoutElement>().preferredHeight = 16; if (ShowItemDropDown) { ShowItemDropDown = false; } BoundsChanged(); // when 'use literal value' is selected, the mutable // field should use its literal even if the user doesn't // then change the listed value. //HandleLiteralValueSelected(); }