文档

Unity Engine

Unity Engine

SetLocalPosition(AnimationStream, Vector3)

Sets the position of the transform relative to the parent.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetLocalPosition(AnimationStream stream, Vector3 position)

Parameters

The AnimationStream that holds the animated values.

position

The position of the transform relative to the parent.