Hi, pals, I want to coding some C# code in common use for our team members.
But I don’t know how to recognize which .NET version is using in C# script.
For example, I have some codes need .NET 2.1, but I don’t want the Unity report an error if someone use other codes only need .NET 1.1.
Is there any “#define” can let me use “#if” to recognize it?
Such as:
#if DOT_NET_2_1
..... //.NET 2.1 codes here
#else
.... //.NET 1.1 codes here
#endif
Does anyone know about it?
Thank you.