기술 자료

Unity Engine

Unity Engine

StringToHash(string)

Generates a parameter id from a string.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public static int StringToHash(string name)

Parameters

name

The string to convert to Id.

Returns

Type

Description

int

Remarks

Ids are used for optimized setters and getters on parameters.