Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SystemInfo.processorType

static var processorType: string;
static string processorType;
static processorType as string

Description

Processor name (Read Only).

	// Prints something like "Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz"

print (SystemInfo.processorType);

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        print(SystemInfo.processorType);
    }
}
import UnityEngine
import System.Collections

public class ExampleClass(MonoBehaviour):

	def Example() as void:
		print(SystemInfo.processorType)

See Also: SystemInfo.processorCount.