Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetInteger

Returns the value of the given integer parameter.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule

GetInteger(string)

Returns the value of the given integer parameter.
public int GetInteger(string name)

Parameters

name

The parameter name.

Returns

Type

Description

intThe value of the parameter.

GetInteger(int)

Returns the value of the given integer parameter.
public int GetInteger(int id)

Parameters

id

The parameter ID.

Returns

Type

Description

intThe value of the parameter.