Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Dialogue only shows up when I turn off read delay

A topic by cptnc created Jan 05, 2020 Views: 186 Replies: 2
Viewing posts 1 to 2
(1 edit)

I have a dialogue system set up much like GamesPlusJames's dialogue that reads lines from a txt file and contains two scripts, one that activates the text and submits the appropriate lines to a dialogue box manager and then passes that into my SuperTextMesh's text field.

Although the lines are appropriately being submitted to my Super Text Mesh UI object, they never print when I use the read delay option. I've also tried messing with ignoring time scale and that doesn't seem to work. Turning off the read delay shows the text completely fine.

This is a bit of a circumstantial question but I admit I'm a bit stumped why it doesn't animate it, so any help would be awesome. 

Thanks!

Developer

Can you set up a Debug.Log() for when you're setting the text value? My first instinct is that you might be setting the text every frame, which would show nothing only if set to read out.

Oh man, I'm an idiot. You're right, I have it in the update function so it's just updating every frame.

Thanks so much!