文档

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
.