Unity 获取电脑信息,CPU、显卡、操作系统等信息。
1 设备模型
2 设备名称
用户定义的设备名称(只读),这通常是设备在网络上出现时的名称,比如连wifi的时候出现在连接列表中的那个名称。
3 设备类型
4 设备标识符 SystemInfo.deviceUniqueIdentifier
设备唯一标识符(只读)。
1 显卡名称
2 显卡标识符
3 显卡类型
4 显卡厂商 SystemInfo.graphicsDeviceVendor
显卡厂商,例:Qualcomm、ATI
5 显卡厂商ID SystemInfo.graphicsDeviceVendorID
显卡厂商ID
6 显卡支持版本 SystemInfo.graphicsDeviceVersion
显卡支持版本
7 显存 SystemInfo.graphicsMemorySize
显存,单位M
8 像素填充率 SystemInfo.graphicsPixelFillrate
显卡像素填充率(百万像素/秒),-1未知填充率
9 SystemInfo.graphicsShaderLevel
显卡支持Shader层