Skip to content

Instantly share code, notes, and snippets.

@demonixis
Created January 30, 2014 06:59
Show Gist options
  • Save demonixis/8703864 to your computer and use it in GitHub Desktop.
Save demonixis/8703864 to your computer and use it in GitHub Desktop.
Retrieving system informations with Unity.
// System informations with Unity
// Doc: http://docs.unity3d.com/Documentation/ScriptReference/SystemInfo-graphicsDeviceName.html
Debug.Log ("Device model: " + SystemInfo.deviceModel);
Debug.Log ("Device name: " + SystemInfo.deviceName);
Debug.Log ("Device type: " + SystemInfo.deviceType);
Debug.Log ("Graphics device name: " + SystemInfo.graphicsDeviceName);
Debug.Log ("Graphics device vendor: " + SystemInfo.graphicsDeviceVendor);
Debug.Log ("Graphics device version: " + SystemInfo.graphicsDeviceVersion);
Debug.Log ("OS: " + SystemInfo.operatingSystem);
Debug.Log ("Processor count: " + SystemInfo.processorCount);
Debug.Log ("Processor type: " + SystemInfo.processorType);
Debug.Log ("Memory size: " + SystemInfo.systemMemorySize);
// Intel(R) Core(TM) i(-4200 CPU @ 2.50GHZ (7968 MB)
// LAPTOP-YANNICK
// Desktop
// Intel(R) HD Graphics 4600
// Intel
// Direct3D 9.0c [nvumdshim.dll 9.18.13.3467]
// Windows 8.1 (6.3.9600) 64 bit
// 4
// Intel(R) Core(TM) i5-4200M CPU @ 2.50GHZ
// 7968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment