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);

参见:SystemInfo.processorCount.

Page last updated: 2011-3-18