Skip to content

Instantly share code, notes, and snippets.

@muhammetozeski
Last active December 1, 2023 06:09
Show Gist options
  • Save muhammetozeski/1cb3eb303e0450576c458a651fc603fc to your computer and use it in GitHub Desktop.
Save muhammetozeski/1cb3eb303e0450576c458a651fc603fc to your computer and use it in GitHub Desktop.
//use this function and see the results
//i made this for learning purpose
void PrintSystemInfo()
{
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 ID: " + SystemInfo.graphicsDeviceID);
Debug.Log("Graphics Device Type: " + SystemInfo.graphicsDeviceType);
Debug.Log("Graphics Memory Size: " + SystemInfo.graphicsMemorySize);
Debug.Log("Graphics Shader Level: " + SystemInfo.graphicsShaderLevel);
Debug.Log("Max Texture Size: " + SystemInfo.maxTextureSize);
Debug.Log("Operating System: " + SystemInfo.operatingSystem);
Debug.Log("Processor Type: " + SystemInfo.processorType);
Debug.Log("Processor Count: " + SystemInfo.processorCount);
Debug.Log("System Memory Size: " + SystemInfo.systemMemorySize);
Debug.Log("Battery Level: " + SystemInfo.batteryLevel);
Debug.Log("Battery Status: " + SystemInfo.batteryStatus);
Debug.Log("Supports Vibration: " + SystemInfo.supportsVibration);
Debug.Log("Device Unique Identifier: " + SystemInfo.deviceUniqueIdentifier);
Debug.Log("Npot Support: " + SystemInfo.npotSupport);
Debug.Log("Graphics MultiThreaded: " + SystemInfo.graphicsMultiThreaded);
Debug.Log("Supports Compute Shaders: " + SystemInfo.supportsComputeShaders);
Debug.Log("Supports 3D Textures: " + SystemInfo.supports3DTextures);
Debug.Log("Supports Shadows: " + SystemInfo.supportsShadows);
Debug.Log("SystemInfo.graphicsDeviceID: " + SystemInfo.graphicsDeviceID);
Debug.Log("SystemInfo.batteryLevel: " + SystemInfo.batteryLevel);
Debug.Log("SystemInfo.batteryStatus: " + SystemInfo.batteryStatus);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment