Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

SystemInfo

class in UnityEngine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Access system information.

Static Variables

deviceModelThe model of the device (Read Only).
deviceNameThe user defined name of the device (Read Only).
deviceTypeReturns the kind of device the application is running on.
deviceUniqueIdentifierA unique device identifier. It is guaranteed to be unique for every device (Read Only).
graphicsDeviceIDThe identifier code of the graphics device (Read Only).
graphicsDeviceNameThe name of the graphics device (Read Only).
graphicsDeviceTypeThe graphics API type used by the graphics device (Read Only).
graphicsDeviceVendorThe vendor of the graphics device (Read Only).
graphicsDeviceVendorIDThe identifier code of the graphics device vendor (Read Only).
graphicsDeviceVersionThe graphics API type and driver version used by the graphics device (Read Only).
graphicsMemorySizeAmount of video memory present (Read Only).
graphicsMultiThreadedIs graphics device using multi-threaded rendering (Read Only)?
graphicsShaderLevelGraphics device shader capability level (Read Only).
npotSupportWhat NPOT (ie, non-power of two resolution) support does the GPU provide? (Read Only)
operatingSystemOperating system name with version (Read Only).
processorCountNumber of processors present (Read Only).
processorTypeProcessor name (Read Only).
supportedRenderTargetCountHow many simultaneous render targets (MRTs) are supported? (Read Only)
supports3DTexturesAre 3D (volume) textures supported? (Read Only)
supportsAccelerometerIs an accelerometer available on the device?
supportsComputeShadersAre compute shaders supported? (Read Only)
supportsGyroscopeIs a gyroscope available on the device?
supportsImageEffectsAre image effects supported? (Read Only)
supportsInstancingIs GPU draw call instancing supported? (Read Only)
supportsLocationServiceIs the device capable of reporting its location?
supportsRenderTexturesAre render textures supported? (Read Only)
supportsRenderToCubemapAre cubemap render textures supported? (Read Only)
supportsShadowsAre built-in shadows supported? (Read Only)
supportsSparseTexturesAre sparse textures supported? (Read Only)
supportsStencilIs the stencil buffer supported? (Read Only)
supportsVibrationIs the device capable of providing the user haptic feedback by vibration?
systemMemorySizeAmount of system memory present (Read Only).

Static Functions

SupportsRenderTextureFormatIs render texture format supported?
SupportsTextureFormatIs texture format supported on this device?
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961