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