GetFloat(AnimationStream)
Gets the float property value from a stream.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public float GetFloat(AnimationStream stream)
Parameters
The AnimationStream that holds the animated values.
Returns
Type | Description |
|---|---|
| float | The float property value. |
Remarks
If the property is not a float, the method will throw an .
InvalidOperationException