文档

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

intA hash code of this string.

Remarks

The hash code is an integer that is always the same for two equal strings but (very likely) different for two unequal strings.