Пример #1
0
        private void OnPlaceholderTextComponentCreated(TMP_Text textComponent)
        {
            TMP_InputField inputFieldComponent = m_inputFieldComponent;

            if (!(null == inputFieldComponent))
            {
                inputFieldComponent.set_placeholder(textComponent);
                textComponent.set_enabled(string.IsNullOrEmpty(inputFieldComponent.get_text()));
            }
        }