So sorry if the title isn’t really related to the question I couldn’t think of anything good basically though my game currently has like 15-20 frames and I was wondering should I make a script for each frame or should I make 1 script that handles them all?
For some frames like the important ones they’ll have their own dedicated script like the shop one for example, but other ones the more smaller ones that don’t require a lot of coding not sure what I should do with them.
I would suggest what is most-easy and reliable. I feel like the one script that handles everything is very easy to make. But it is not reliable. I have made one like it and it sometimes gets messed up. But even though it’s not reliable I feel like making scripts for every GUI is best. Although it won’t make any difference then making one big script where you can store everything. I would still choose the script for every GUI.