I want to have clickable quotes on a text box, I know this is a big ask but I look forward to the solutions that you guys may be able to come up with. (Imgur: The magic of the Internet)
I think the example above is an okay example of what I want.
There are addons such as textmeshpro and Hypertext that can do this.
Otherwise, depending on how you are generating the text, you could have a button with the text on top of it and the button image alpha at 0. You could implement the IPointer interface where it can respond to different things like pointer down and up.
But you’re going to have to give more info. How is your text generated? How accurate do you want the “clicks” to be? Text only or just within the area?
The text is read from a text file which is located online (I’m about to change this). The return value is of each line so the button thing you suggested isn’t a bad idea, the only concern I have is making this viable with colours (I need to have colours). Additionally, there can be any amount of lines of text so it’s important that there is a procedural generation of buttons. I am not certain on how I would implement this.
I hope this helps you to understand my problem. Thank you.