operator ==(Resolution, Resolution)
Returns true if two resolutions are equal.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Operator
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool operator ==(Resolution lhs, Resolution rhs)
Parameters
Resolution to compare on the left side.
Resolution to compare on the right side.
Returns
Type | Description |
|---|---|
| bool | True if the width, height, and refresh rate of both resolutions are equal, otherwise false. |
Remarks
Additional Resources: Resolution.Equals