示例#1
0
    // 获取设备系统版本号
    public static string GetDeviceVersion()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        return("");
#elif UNITY_ANDROID && !UNITY_EDITOR
        //return "";
        return(AndroidHelper.platformHelper("getDeviceVersion"));
#elif UNITY_IPHONE && !UNITY_EDITOR
        return(IOSHelper.System_GetDeviceVersion());
#else
        return("");
#endif
    }