文档

Unity Engine

Unity Engine

BindSceneTransform(Animator, Transform)

Create a TransformSceneHandle representing the new binding between the Animator and a Transform in the Scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static TransformSceneHandle BindSceneTransform(this Animator animator, Transform transform)

Parameters

animator

The Animator instance that calls this method.

transform

The Transform to bind.

Returns

Type

Description

TransformSceneHandleReturns the TransformSceneHandle that represents the new binding.