public static string GetDeviceInfo()
{
return"deviceModel:" + SystemInfo.deviceModel+ "\n"+/*设备模型*/
"deviceName:" + SystemInfo.deviceName + "\n" +/*设备名称*/
"deviceUniqueIdentifier:" + SystemInfo.deviceUniqueIdentifier + "\n" +/*设备唯一标识符*/
"copyTextureSupport:" + SystemInfo.copyTextureSupport.ToString() + "\n" +/*是否支持纹理复制*/
"graphicsDeviceID:" + SystemInfo.graphicsDeviceID.ToString() + "\n" +/*显卡ID*/
"graphicsDeviceName:" + SystemInfo.graphicsDeviceName + "\n" +/*显卡名称*/
"graphicsDeviceType:" + SystemInfo.graphicsDeviceType.ToString() + "\n" +/*显卡类型*/
"graphicsDeviceVendor:" + SystemInfo.graphicsDeviceVendor + "\n" +/*显卡供应商*/
"graphicsDeviceVendorID:" + SystemInfo.graphicsDeviceVendorID.ToString() + "\n" +/*显卡供应商ID*/
"graphicsDeviceVersion:" + SystemInfo.graphicsDeviceVersion + "\n" +/*显卡版本号*/
"graphicsMemorySize:" + SystemInfo.graphicsMemorySize + "\n" +/*显存大小(单位:MB)*/
"graphicsMultiThreaded:" + SystemInfo.graphicsMultiThreaded.ToString() + "\n" +/*显卡是否支持多线程渲染*/
"supportedRenderTargetCount:" + SystemInfo.supportedRenderTargetCount.ToString() + "\n" +/*支持的渲染目标数量*/
"systemMemorySize:" + SystemInfo.systemMemorySize.ToString() + "\n" +/*系统内存大小(单位:MB):*/
"operatingSystem:" + SystemInfo.operatingSystem + "\n"+"curTime:"+GetTimers()+"\n";
/*操作系统当前时间*/
}
【Unity|Unity 获取设备信息】
推荐阅读
- Unity|Unity UGUI ScrollView滑动到指定位置
- Unity|Unity Spine播放动画、动画播放结束回调、停止播放
- U3D|Unity接入穿山甲广告SDK教程
- unity|unity开发微信小游戏1
- unity|原神-孤云秘宝(unity实训案例)(一)——模型的下载和导入
- Unity和安卓的交互
- Unity 安卓杂货
- unity|Unity学习笔记(Animator、Animator Controller、Animation Cilp之间的关系、以及Blend Tree的用法;)
- unity|Unity-虚方法&密封方法&抽象方法&接口