SetLocalRotation(AnimationStream, Quaternion)
Sets the rotation of the transform relative to the parent.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public void SetLocalRotation(AnimationStream stream, Quaternion rotation)
Parameters
The AnimationStream that holds the animated values.
The rotation of the transform relative to the parent.