Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Animator.GetFloat

Switch to Manual
public function GetFloat(name: string): float;

Parameters

name The name of the parameter.

Description

Gets the value of a float parameter.


public function GetFloat(id: int): float;

Parameters

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

Description

Gets the value of a float parameter.