So I want to create a back button in my client. Pretty obvious, right? The issue is that I can’t call a class that has already been called. So in my case, I am in the main client, choose play game, it goes to mode select and I want to press the back button. I try calling the main class again to return me to the main menu, but no dice. I know it won’t work because the class already been called. So do I need to create scenes with each screen transition for a back button to properly work? Or can I eject classes that has already been called before?
I could also go the hard road and make a module class for each button if that would work better. What do you guys normally do for back buttons?
Thanks for reading!
P.S. I know how to implement buttons, just asking how it’s possible to go to a previous class that’s been called before.