vad710 / UnityEngineAnalyzer

Roslyn Analyzer for Unity3D
MIT License
273 stars 43 forks source link

Feature/unity version check #18

Closed Kasperki closed 7 years ago

Kasperki commented 7 years ago

Unity version check what was discussed in #15 It will automatically try to resolve the Unity version from ProjectSettings.txt. Only works in Unity 5 >=. Other wise it can be specified as -v Commandline argument.

I was first thinking of making UnityVersion enum as flags, but that would restrict us to only 32 unity versions?

Also I do not know if I missed any analyzers that would need this Unity version check.

vad710 commented 7 years ago

We may need to refactor this a bit later at some point - but gonna merge this for now so we have the functionality in.