Re: UnityPackage 1.3 BETA5
Posted: 21 Feb 2017, 20:27
But you don't have to compile the project generated by Unity in VS, it is Unity who compiles the project anytime you change the scripts and come back to the editor.Well without the flag the code doesn't compile. And VS can't attach a debugger to a project that doesn't compile. So I have to add the flag with the project hook to be able to work with Noesis at all in VS. Also what exactly does the flag do? Check for Mono? Isn't that a bit bad anyway since Unity will soon also run with non-Mono runtimes? Is there anything you can do about that? maybe add that Project hook class to the Noesis package?
You just need to attach your VS project to the running Unity instance using the "Attach to Unity" button.
That is the way we work here and we can debug the scripts without problem, but maybe I'm missing something.
About the mono flag is just there because we need to do a few things differently for mono. When Unity decides to switch to non-Mono runtimes we can simply delete that code as won't be used.