Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimatorStateInfo.IsName

public bool IsName(string name);

Description

Does name match the name of the active state in the statemachine?

The name should be in the form Layer.Name, for example "Base.Idle".

Did you find this page useful? Please give it a rating: