Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetHashCode()

Returns a hash code of this string.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public override int GetHashCode()

Returns

Type

Description

intThe hash code of this string.

Remarks

Only the character bytes are included in the hash: any bytes beyond FixedString128Bytes.Length are not part of the hash.