Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

IAnimatorControllerPlayable.GetFloat

Switch to Manual
public float GetFloat(string name);
public float GetFloat(int id);

Parameters

name The name of the parameter.
id The id of the parameter. The id is generated using Animator::StringToHash.

Description

Gets the value of a float parameter.