Convert Text Component to TextMeshProUGUI keeping configurations

For the ones who dosent know, TextMesh Pro is an alternative solution for the Unity Text component, with a lot of more customization and better performance, check some videos / demos here:

And here is the tool working:

Just to share a quick script that I've done. basically get all instances of the Text component on the current scene, and replace for an new TextMeshPROUGUI one, keeping all your settings, like:

  • Font
  • Color
  • Size
  • Best Fit
  • Alignment
  • Overflow

Worked really well for my purpose, maybe can help someone else, just save the embed script in some editor folder:

Tested with the Unity 4.6.3f1 and Text Mesh Pro Beta v0.1.46 Beta 4.5.1 (you need to get access for this beta on the forum: )