GetInt(AnimationStream)
Gets the integer property value from an object in the Scene.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public int GetInt(AnimationStream stream)
Parameters
The AnimationStream managing this handle.
Returns
Type | Description |
|---|---|
| int | The integer property value. |
Remarks
If the property is not an integer, the method will throw an .
InvalidOperationException