文档

Unity Engine

Unity Engine

GetHashCode()

Returns a hash code of this string.
阅读时间1 分钟最后更新于 1 个月前

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 FixedString512Bytes.Length are not part of the hash.