UnityGame/Library/PackageCache/com.unity.test-framework/UnityEditor.TestRunner/UnityTestProtocol/Data/ScreenSettings.cs
2024-10-27 10:53:47 +03:00

26 lines
742 B
C#

using System;
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
{
// This class is used for serialization purposes
// which requires public access to fields and a default empty constructor
[Serializable]
internal class ScreenSettings
{
public ScreenSettings(int screenWidth, int screenHeight, int screenRefreshRate, bool fullscreen)
{
ScreenWidth = screenWidth;
ScreenHeight = screenHeight;
ScreenRefreshRate = screenRefreshRate;
Fullscreen = fullscreen;
}
public ScreenSettings() { }
public int ScreenWidth;
public int ScreenHeight;
public int ScreenRefreshRate;
public bool Fullscreen;
}
}