Modify dynamically my text

Hello !

I’m trying to modify dynamically my text from my TextMeshPro. I tried to find where the Data Text is situated but I didn’t find. (Only the RectTransform and the MeshRenderer)
Is it possible to do it ?

Thanks by advance

Original Post on Discord

by user 224464722878005248

TextMeshPro is not supported by Needle Engine right now (it is exported as static/baked text by UnityGltf only). You need to use the “Legacy” Text component for runtime editing

I used this :

by user 224464722878005248

by user 224464722878005248

The Legacy one, but it’s not rendered in my scene after runtime

by user 224464722878005248

image.png

by user 224464722878005248

Can you use a Canvas + Legacy Text for now please?

by user 224464722878005248

image.png

by user 224464722878005248

Not sure what I’m seeing here - is that a Text component or TMPro or …

I used this TextMesh, like it :

by user 224464722878005248

by user 224464722878005248

The TextMesh Name is “Repere”

by user 224464722878005248

I used this one :

by user 224464722878005248

by user 224464722878005248

You need to use the text compinent under the UI menu… not the TextMesh 3D object

by user 563549194137239552

UI->Legacy->Text … needs to be a child of a canvas and in world space

by user 563549194137239552

Ok I found it ^^

by user 224464722878005248

anything you put under a canvas needs to come from the UI menu

by user 563549194137239552

Ok I’ll retain that

by user 224464722878005248