Canvas not loading on first click of button
When pressing my UI button, the action will run correctly on the first click if the player has 100 Stars to spend however if they don't have 100 stars to spend, then the button requires two clicks prior to loading the Shop Canvas whereas I want it to load upon the first click...
After the Shop Canvas has loaded for the first time, I can close it and reopen it on the first click of the button until the game is restarted...
For clarity, I the Debug statement appears in the console on the first click of the button...
I would be very grateful if anyone could confirm why this is happening and suggestions on how to fix my problem.
capture.png
(202.0 kB)
Comment