IsValid(AnimationStream)
Returns whether this is a valid handle.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public bool IsValid(AnimationStream stream)
Parameters
The AnimationStream that manages this handle.
Returns
Type | Description |
|---|---|
| bool | Whether this is a valid handle. |
Remarks
A TransformSceneHandle may be invalid if, for example, the transform binded to this handle is deleted or if you didn't use the correct function to create it.
Additional Resources: AnimatorJobExtensions.BindSceneTransform.