文档

Unity Engine

Unity Engine

OpenAnimationStream(Animator, ref AnimationStream)

Open a new stream on the Animator.
阅读时间1 分钟最后更新于 1 个月前

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.