Pass Data from custom launcher to game
I am making a launcher that is a sperate program. I am not sure how to pass data to the game when I launch it, such as resolution and quality settings. I thought about setting it in a file but there is now way to know what the Application.persistentDataPath is from outside of unity (the launcher is just a simple wpf application). I am pretty stuck and I am wondering how I would accomplish this.
Answer by Landern · Nov 09, 2016 at 03:03 AM
There are certain arguments you can pass to the stand alone which you can find under the headers on this page under stand alone about 3/4 of the way down the manual page. All the arguments are listed where available on that page, outside of that a custom solution is needed. but the resolution and such are supported with stand alone arguments.