ドキュメント

Unity Engine

Unity Engine

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

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

Remarks

Additional Resources: Resolution.Equals