📜  unity绕轴旋转c#代码示例

📅  最后修改于: 2022-03-11 14:48:42.586000             🧑  作者: Mango

代码示例1
public Transform customPivot;

void Update()
{
    transform.RotateAround(customPivot.position, Vector3.up, 20 * Time.deltaTime);
}