summaryrefslogtreecommitdiff
path: root/Thronefall_v1.0/Decompile/ResolutionExtensions.cs
blob: 989e12e9e95136787984aae324c59badaf662293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using UnityEngine;

public static class ResolutionExtensions
{
	public static bool CompareResolutions(this Resolution resA, Resolution resB)
	{
		if (resA.width == resB.width)
		{
			return resA.height == resB.height;
		}
		return false;
	}
}