I’m building my first mobile game - coffeedash - and trying to use TextMeshPro to display some in-game text. However, whenever I declare an object of type TextMeshPro in my script, I’m getting the error:
error CS0234: The type or namespace name 'TextMeshPro' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
using Unity.TextMeshPro but that doesn’t seem to work, so wondering what I need to import into my script to get this working.
To import TextMeshPro, you need to add the using declaration
Hi I'm Hamilton and I wrote / built this! I like doing lots of things, but mostly I like to build (and then share those buildings). Some things I'm currently building: art, software, and prose. To stay up-to-date with my latest buildings, subscribe to my email list or follow one of my many other accounts. #buildit #shipit #justhamit