文档

Unity Engine

Unity Engine

GetHashCode()

Returns the hash code for this resolution.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public override int GetHashCode()

Returns

Type

Description

intHash code of the resolution.

Remarks

The hash code is computed from the width, height, and refresh rate, so resolutions that are equal have equal hash codes.