文档

Unity Engine

Unity Engine

GetHashCode()

Returns the hash code for this color. This lets you use colors as keys in hash tables.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Returns

Type

Description

int

Remarks

Follows the exact same logic as Vector4.GetHashCode().