Closed xanmankey closed 8 months ago
Since TextBox and BBCodeText are overlapping, only one game object will receive touch event. In your case, TextBox is created after BBCodeText (new game object will render above old game object if they have the same depth), so it will get touch event but BBCodeText won't.
Completely missed that, thank you! Good to know that's the case for the future
Hi,
I just wanted to point out something that I noticed, it could be an entirely intentional choice or just a bug in my code. I'm making a dialog system for a game, utilizing the
areaclick
event ofBBCodeText
for dialog options andTextBox
for displaying the text, but when I set textBox to interactive, the areaclick event never calls.Here's my code
And here's where I call my code
Thanks for the incredible package and UI!