After I switch the scene, the background image set for the button will also be changed to the default state. I want to keep the background image of the button, can anyone help me solve this problem?
Playground Links:
After I switch the scene, the background image set for the button will also be changed to the default state. I want to keep the background image of the button, can anyone help me solve this problem?
Playground Links:
Hey there, an issue with the render loop is that it only renders the scene once per button click (inside the if block). Here I changed it to assign the active scene to a variable which is rendered each frame (outside of the if block).
Also the set timeout delay isn’t needed to stop the default render loop in the playground anymore, so I removed that part.
Thank you very much for solving a very big problem