- Home /
Getting the MonoCompatibility level from a script
It would be useful to get the current MonoCompatibility level (NET 2.0, subset, micro) from a script, ideally as a preprocessor directive, e.g. to enable/disable certain features or select an alternate code path according to what .NET features are available.
We can manually add preprocessor directives, but that's not really portable across projects e.g. for a plugin.
So, does anybody have a way to do this currently? Or should I open a feature request?
Your answer
Follow this Question
Related Questions
Is there any other way to call into Unity from Objective-C other than UnitySendMessage? 2 Answers
call C# dll class in plugins from JavaScript 0 Answers
Streaming and Unity? 2 Answers
AndroidJavaClass. Call returns null ptr. 1 Answer
Need to move monobehaviours to a DLL, will deserialization still work? 0 Answers