Answer the question
In order to leave comments, you need to log in
How to keep several games in one Unity project?
Is it possible to support multiple games in one Unity project? They should have partially shared scripts responsible for the mechanics, but different graphics and build settings. Plugins are also partially shared, with different settings. Now this is solved by different branches in the git, but switching between them every time is very inconvenient. Is there any proper way to do this?
Answer the question
In order to leave comments, you need to log in
You create the necessary subdirectories in the project's dependency tree and make branches with dependencies: somewhere linking (links), somewhere copies of objects and unique objects only for this branch.
The main thing is that one such branch can be assembled into a game.
Git submodules. You can look in the direction of UPM, a rather convenient thing from units.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question