Exemplo n.º 1
0
        private void SwitchDisplayToMutableValue()
        {
            LiteralValueDisplayPanel.SetActive(false);
            MutableValueDisplayPanel.SetActive(true);

            BoundsChanged();
        }
Exemplo n.º 2
0
        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();
        }