Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PlayerSystemInfo.cs 1.2KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
  3. {
  4. // This class is used for serialization purposes
  5. // which requires public access to fields and a default empty constructor
  6. [Serializable]
  7. internal class PlayerSystemInfo
  8. {
  9. public PlayerSystemInfo() { }
  10. public PlayerSystemInfo(string operatingSystem, string deviceModel, string deviceName, string processorType, int processorCount, string graphicsDeviceName, int systemMemorySize, string xrModel = "", string xrDevice = "")
  11. {
  12. OperatingSystem = operatingSystem;
  13. DeviceModel = deviceModel;
  14. DeviceName = deviceName;
  15. ProcessorType = processorType;
  16. ProcessorCount = processorCount;
  17. GraphicsDeviceName = graphicsDeviceName;
  18. SystemMemorySize = systemMemorySize;
  19. XrModel = xrModel;
  20. XrDevice = xrDevice;
  21. }
  22. public string OperatingSystem;
  23. public string DeviceModel;
  24. public string DeviceName;
  25. public string ProcessorType;
  26. public int ProcessorCount;
  27. public string GraphicsDeviceName;
  28. public int SystemMemorySize;
  29. public string XrModel;
  30. public string XrDevice;
  31. }
  32. }