ドキュメント

Unity Engine

Unity Engine

HasState(int, int)

Returns true if the state exists in this layer, false otherwise.
読み終わるまでの所要時間 1 分最終更新 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.