SystemInfo
- deviceModel
- deviceName
- deviceUniqueIdentifier
- graphicsDeviceID
- graphicsDeviceName
- graphicsDeviceVendorID
- graphicsDeviceVendor
- graphicsDeviceVersion
- graphicsMemorySize
- graphicsPixelFillrate
- graphicsShaderLevel
- operatingSystem
- processorCount
- processorType
- supportsImageEffects
- SupportsRenderTextureFormat
- supportsRenderTextures
- supportsShadows
- systemMemorySize
SystemInfo.processorType 处理器类型
static var processorType : string
Description描述
Processor name (Read Only).
处理器的名称(只读)。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public void Awake() {
print(SystemInfo.processorType);
}
}
// Prints something like "Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz"
//打印当前计算机处理器的型号
print (SystemInfo.processorType);
最后修改:2011年3月18日 Friday 17:16