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.GetBool

Switch to Manual
public function GetBool(name: string): bool;

Parameters

name The name of the parameter.

Description

Gets the value of a bool parameter.

public function GetBool(id: int): bool;

Parameters

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

Description

Gets the value of a bool parameter.