기술 자료

Unity Engine

Unity Engine

HasState(int, int)

Returns true if the state exists in this layer, false otherwise.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public bool HasState(int layerIndex, int stateID)

Parameters

layerIndex

The layer index.

stateID

The state ID.

Returns

Type

Description

boolTrue if the state exists in this layer, false otherwise.