Text in my script
Posted: Sun Jul 04, 2021 4:57 pm
Hello, I apologize if this topic has already been described in the documentation, but it's hard for me to search in a language that is foreign to me. I'm using the Quest Machine, and I probably haven't figured it out well yet. How do I get the text values (Dialogue, Journal, HUD, etc.) in my script?
Example:
public TextMeshProUGUI textHUD = default;
public TextMeshProUGUI textJournal = default;
public ShowText()
{
textHUD.text = ?
textJournal.text = ?
}
Example:
public TextMeshProUGUI textHUD = default;
public TextMeshProUGUI textJournal = default;
public ShowText()
{
textHUD.text = ?
textJournal.text = ?
}