Text/TextMesh as component

Hello,

I recently tried to convert TextMeshPro to Entity, but it doesn’t work.
I like ideas of DOTS and would like to work with everything (almost?) in DOTS style.
So question: is it possible to work with TextMeshPro objects as Entities ? Or may be in the future we will have “text” components ?

It’s possible to add managed UnityEngine.Component, like TextMeshPro components, to entities.

The simple approach is to add the ConvertToEntity component to the desired GameObject with the Convert And Inject Game Object conversion mode.

Now you can query upon this TextMeshPro component in your systems. The drawback of this approach is that UnityEngine.Component is not efficiently accessed in memory and it can’t be used in Jobs.