GetInteger
Returns the value of the given integer parameter.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
GetInteger(string)
Returns the value of the given integer parameter.
public int GetInteger(string name)
Parameters
The parameter name.
Returns
Type | Description |
|---|---|
| int | The value of the parameter. |
GetInteger(int)
Returns the value of the given integer parameter.
public int GetInteger(int id)
Parameters
The parameter ID.
Returns
Type | Description |
|---|---|
| int | The value of the parameter. |