Unity Major Version

This mainly related to this thread in the dev preview.

http://forum.unity3d.com/threads/150803-Major-version-conditional-compilation

But being able to type #Unity_4 to represent all version of 4 would be useful.

Any work arounds?

I just add a ‘UNITY_4’ define to the Scripting Defines entry in the Player Settings. (I agree it would be better if it were built in).

i didn’t know you could do that. thanks.