Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OpenAnimationStream(Animator, ref AnimationStream)

Open a new stream on the Animator.
Read time 1 minuteLast updated 12 days ago

Definition

OpenAnimationStream(Animator, AnimationStream)

public static bool OpenAnimationStream(this Animator animator, ref AnimationStream stream)

Parameters

animator

The Animator instance that calls this method.

The new stream.

Returns

Type

Description

boolReturns whether or not the stream has been opened.

Remarks

The stream opened this way must be closed using AnimatorJobExtensions.CloseAnimationStream.