Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

AnimatorStateMachine.MakeUniqueStateName

Switch to Manual
public function MakeUniqueStateName(name: string): string;

Parameters

name Desired name for the state.

Description

Makes a unique state name in the context of the parent state machine.