pnarimani / RTLTMPro

Right-To-Left Text Mesh Pro for Unity. This plugin adds support for Persian and Arabic languages to TextMeshPro.
MIT License
536 stars 104 forks source link

Any way to original Textmesh Pro text abd add some script to make it work right #106

Closed RYG81 closed 1 year ago

RYG81 commented 1 year ago

I have a project finished and just want to convert text to Arabic. Is there a way where i just add some script over my textmesh pro text and make things work. Its quiet hard and time-consuming to replace all with new RTLTMP. Please suggest.

hk1ll3r commented 1 year ago

This file is for the component: RTLTMPro\Scripts\Runtime\RTLTextMeshPro.cs

You could probably call "GetFixedText" from this component and use the returned text in a normal TextMeshPro component. This hasn't been tested but is pretty much how this plugin works.