Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetHashCode()

Returns the hash code for this color. This lets you use colors as keys in hash tables.
Read time 1 minuteLast updated 5 days ago

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().