Forum rules - please read before posting.

Text Mesh Pro Menu Element

Hi all. For anyone wanting to use the fantastic Text Mesh Pro Unity asset - https://www.assetstore.unity3d.com/en/#!/content/17662 - for their AC menus (i.e. hotspot labels, subtitles etc.) I have created a Menu class under the Scripts -> Menu -> Menu classes folder.

I took the MenuLabel.cs file as the base and created MenuLabelTMPro.cs.
Just swapping out the Text class with TMPro.TextMeshProUGUI.

Where can I post the .cs file?

Comments

  • Oh sweet!

    This is a great addon, so much so that I believe AC should have a support for it out of the box...

    Suppose could use pastebin?
  • I agree that TMPro is a great asset (though the various updates are hard to keep track of..)

    I don't believe there needs to be an official integration between the two assets, as it happens, because it's possible to write a script that links them together without amending either assets.  So long as you're using Unity UI for your AC Menus, just have your AC-linked Text object hidden out the way, and instead have a custom script copy it's Text contents into a TMPro Text object instead.
  • Ah good alternative solution! Thanks
  • Smart.
  • Is there a link to the script somewhere? :)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.