GetBool(AnimationStream)
Gets the boolean property value from a stream.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public bool GetBool(AnimationStream stream)
Parameters
The AnimationStream that holds the animated values.
Returns
Type | Description |
|---|---|
| bool | The boolean property value. |
Remarks
If the property is not a boolean, the method will throw an .
InvalidOperationException