V
V
Vladimir Kuranov2020-02-15 01:23:14
Unity
Vladimir Kuranov, 2020-02-15 01:23:14

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

2 answer(s)
X
xmoonlight, 2020-02-15
@xmoonlight

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.

A
Alex Maximovich, 2020-02-17
@flexer1992

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 question

Ask a Question

731 491 924 answers to any question