ドキュメント

Unity Engine

Unity Engine

IsName(string)

Does name match the name of the active state in the statemachine?
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public bool IsName(string name)

Parameters

name

Returns

Type

Description

bool

Remarks

The name should be in the form Layer.Name or Layer.SubStateMachine.Name. For example,
Base.Idle
or
Base.RunSM.JogForward
.