dotBunny / VSCode

Unity Visual Studio Code Integration
MIT License
674 stars 181 forks source link

Only auto-opens on Unity (re)launch #125

Closed phest closed 8 years ago

phest commented 8 years ago

VSCode() gets called on Unity launch and when user presses play. This was auto opening and refocusing VS Code when user pressed play. CheckForAutoOpen() uses a timestamp to track whether Unity was relaunched and VS Code should be opened.