Documentation

Unity Engine

Download Unity

Unity Engine

operator !=(Resolution, Resolution)

Returns true if two resolutions are unequal.
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 resolutions differ in width, height, or refresh rate, otherwise false.

Remarks

Additional Resources: Resolution.Equals