Skip to content

Can't edit the text from script. #145

@vivogd

Description

@vivogd

Hi,

The text shows great when I set it up on the editor but when I try to set the text from script it doesn't work. It doesn't even show an error.
I tried the most simple script:

using RTLTMPro;
using TMPro;
using UnityEngine;

public class TestRTL : MonoBehaviour
{
    public TMP_Text txtTest;

    private void Start()
    {
        txtTest.text = "1234";
    }
}

It works with the original TMP_Text. But it doesn't work when I drag the RTLText field to the txtTest

  • I am using Unity 6 and the v3.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions