暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }