コード例 #1
0
        private void OnTextComponentCreated(TMP_Text textComponent)
        {
            //IL_0040: Unknown result type (might be due to invalid IL or missing references)
            //IL_004c: Unknown result type (might be due to invalid IL or missing references)
            //IL_0064: Unknown result type (might be due to invalid IL or missing references)
            TMP_InputField inputFieldComponent = m_inputFieldComponent;

            if (!(null == inputFieldComponent))
            {
                inputFieldComponent.set_textComponent(textComponent);
                inputFieldComponent.set_text((null != m_text) ? m_text.GetText() : string.Empty);
                inputFieldComponent.set_contentType(m_contentType);
                inputFieldComponent.set_lineType(m_lineType);
                inputFieldComponent.set_characterLimit(m_characterLimit);
                inputFieldComponent.set_selectionColor(m_selectionColor);
                inputFieldComponent.set_richText(false);
                inputFieldComponent.set_isRichTextEditingAllowed(false);
                inputFieldComponent.set_enabled(null != textComponent);
            }
        }