Hello,
I saw that "BBCODE tag ranges" example makes it possible to make a word in spritefont react to touch.
But I'd like to set up a function that click on a word triggers an action.
I though of something like a tag that would tell every word with this tag acts as a button (ie [tag=button] but another tag would be useful to indicate an ID to that button. Or maybe some regex could be involved to decrypt a tag in the form [tag=button/3].
Then, using a json to connect ID with an action, I'd be able to trigger a given action with a click on given word.
Any idea how this could be achieved ?