OpenAnimationStream(Animator, ref AnimationStream)
Open a new stream on the Animator.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
OpenAnimationStream(Animator, AnimationStream)
public static bool OpenAnimationStream(this Animator animator, ref AnimationStream stream)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns whether or not the stream has been opened. |
Remarks
The stream opened this way must be closed using AnimatorJobExtensions.CloseAnimationStream.