Hi,
Is there any new symbol for the new runtime?
My code must be backward compatible for older Unity versions, but it would be good to use new APIs when possible.
Hi,
Is there any new symbol for the new runtime?
My code must be backward compatible for older Unity versions, but it would be good to use new APIs when possible.
Yes, you can use NET_4_6: Unity - Manual: Conditional compilation
Also, there is a define for the .NET Standard 2.0 profile. It is available in the 2018.1 and later: Unity - Manual: Platform dependent compilation
Thanks for your help.
Tried the Platform Dependent Compilation page just right before i posted this topic, but now i see i tried to search in the 2017.4 manual… ![]()