Command Line arguments in Unity

This is more of an aide-mémoire than a new story but today was the day that I started using command line arguments to launch my Unity app.

Built-in arguments

myApp.exe -logfile mylogfile.txt

This will reroute the standard location of the log file to the same folder as your exe. That is pretty handy especially if you give your exe out to others for testing.

Custom arguments

--

--

Unity, VR, Enterprise and .Net Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store