operator ==(Resolution, Resolution)
Returns true if two resolutions are equal.
阅读时间1 分钟最后更新于 1 个月前
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