I have built around 4 different games in their own separate Unity Projects.
I wanted to combine them all into one project where the user can choose the game they want to play. When I put in the games into the project, I ran into a problem. Two of the games have a ‘Game Manager’ script and a ‘Game Manager’ component, where it confuses the two scripts and uses the wrong Game Manager script.
Is it possible to have two Game Manager scripts and for the games to work that way, or do I have to do it another way?
I’ve tried changing the name of the scripts to Game Manager 1 and Game Manager 2, and did the same with the components, however, it still uses the Game Manager 1 script for the Game Manager 2 component, screwing up one of my games.
Aya Mahamid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.