Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetHashCode()

Returns a hash code for this EntityId.
Read time 1 minuteLast updated 4 days ago

Definition

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

Returns

Type

Description

intA 32-bit signed integer hash code.

Remarks

The hash code is computed from the internal representation of the
EntityId
and does not reflect creation order or any other meaningful property. Do not use the hash code to infer ordering or relationships between
EntityId
values.