Documentation

Unity Engine

Unity Engine

operator ==(Resolution, Resolution)

Returns true if two resolutions are equal.
Read time 1 minuteLast updated a month 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

boolTrue if the width, height, and refresh rate of both resolutions are equal, otherwise false.

Remarks

Additional Resources: Resolution.Equals