コード例 #1
0
            public void RefreshText()
            {
                string text = _text.GetLocalisedString();

                if (_textMesh.text != text)
                {
                    _textMesh.text = text;
                }
            }
コード例 #2
0
            void Update()
            {
                string text = _text.GetLocalisedString();

                if (_UIText.text != text)
                {
                    _UIText.text = text;
                }
            }
コード例 #3
0
                public void RefreshText()
                {
                    TextMeshProUGUI textMesh = GetTextMesh();
                    string          text     = _text.GetLocalisedString();

                    if (textMesh.text != text)
                    {
                        textMesh.text = text;
                    }
                }