I’m glad to see that Unity now supports headless mode and command line arguemnts. I was hoping to be able to exploit the same kind of functionality while Unity is running (since I generally want to do this particular task while Unity is up). Would such a thing be possible? I would like to do it over CLI, or I could write another program to do it.
Yeah I’m pretty sure user32.dll is a part of the Windows SDK, so it will never work cross-platform. What I came up with was actually the following:
The bridge script that Git calls writes a file called merges.txt to the root of the Assets folder.
If I have a certain editor window up, with the following in it’s Update() function: