Hello,
I am trying to build a Skip LVL button.
In the main menu, you select a level and you can play it or skip it. When you decide to skip it, I want to change the text in the selected button to SKIPPED and change the color of the button.
However, I am unable to access the text of a button.
I go as follows:
- you click a button (one of 50), the button is added to Selected Button Array (Array is Cleared first)
- Then I have an Array with a button in it and I am trying to get its text:
I can print the text (get accessible text), but I don’t know how to edit it.
I am trying to Cast to Editable text but that’s not it. Cast to text layout widget… also not it.
Any idea how to get access to the text element in the button and be able to edit it?
Thank you in advance