So I have a function for a Dialogue System that changes the line on the dialogue box whenever you click. Which means it has to be in update(). My test works so far but my next problem is how to make the whole dialogue box only appear whenever I click on a character.
I tried making the characters as buttons and it does make the dialogue box show up whenever clicked, but it won’t change the dialogue lines because that function has to be in an update method.
I’m looking at OnMouseDown() right now but the result will be probably the same. Any ideas?