Ei kuvausta
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.

ScreenSettings.cs 742B

12345678910111213141516171819202122232425
  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 ScreenSettings
  8. {
  9. public ScreenSettings(int screenWidth, int screenHeight, int screenRefreshRate, bool fullscreen)
  10. {
  11. ScreenWidth = screenWidth;
  12. ScreenHeight = screenHeight;
  13. ScreenRefreshRate = screenRefreshRate;
  14. Fullscreen = fullscreen;
  15. }
  16. public ScreenSettings() { }
  17. public int ScreenWidth;
  18. public int ScreenHeight;
  19. public int ScreenRefreshRate;
  20. public bool Fullscreen;
  21. }
  22. }