unity find out sdk version in code code example
Example: unity find out sdk version in code
static int getSDKInt() { using (var version = new AndroidJavaClass("android.os.Build$VERSION")) { return version.GetStatic<int>("SDK_INT"); } }
static int getSDKInt() { using (var version = new AndroidJavaClass("android.os.Build$VERSION")) { return version.GetStatic<int>("SDK_INT"); } }