logoalt Hacker News

zulbantoday at 1:17 PM0 repliesview on HN

Great. For my game [1] I have long had the capacity to compile a separate commandline application using unity code [2]. This lets me do benchmarks and unit tests on the core chess AI code without the editor. However I've had to maintain a separate second unit test suite that I can only run in the editor manually if any unity specific code is involved. Naturally, it's run far less often.

This new unity cli doesn't replace that design, since it's important to me that my core chess variant AI code remains a project on its own, totally independent of unity. But it does mean lots of my utilities like my second unity test, which normally require clicking a button in the editor, can now be run without the editor. Excellent!

Making a 2d chess variant game means almost all unity editor features just get in my way.

[1] https://www.chesscraft.ca

[2] https://youtu.be/U4xBLTpZ9Xo?si=Gd2aAWKvLqBVBU66