Hello esteemed Stackoverflow community,
I am developing a Unity2D game and currently, I want to add the capability to play additional nested games within my game. At the moment, I have decided to create folders within the project for each game. Each game will have its own scene and a set of scripts named “NestedGame1_NameOfTheScript”. Additionally, each game will have its own sprites, prefabs, etc. However, I feel that this approach might not be the most optimal.
Also, such an approach would be impractical if I decide to add a ready-made game to the project with its own scripts that may already have names used in my project. Renaming them and changing all the connections in the code would be very difficult and could potentially lead to issues and errors.
Perhaps someone has encountered a similar situation and knows of more optimal approaches and architectural solutions?