Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

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.