Completed Game + Question

Here is a screenshot of my game Thor’s Hangover - escape from Loki’s Labyrinth.
I do have one question as well:
I was trying to create a textmeshpro text for my story text, but then I am unable to add it as my text component on adventuregame.cs in my game object. I’m wondering how to get the fancy font text I make through textmeshpro to show up as an available text option.
Thanks in advance!

1 Like

Hi Charles,

You can assign objects to variables of the same type. For example, a Text object can be assigned to a variable of type Text. A TextMeshProUGUI object can be assigned to a variable of type TextMeshProUGUI. Change the type to the correct one in your script, then you can assign the TMP object.


This topic was automatically closed after 14 days. New replies are no longer allowed.