📜  unity 始终旋转对象 - C# 代码示例

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

代码示例3
//Use FixedUpdate instead of Update for physics, rotation, and movement.
void FixedUpdate()
    {
        laserPointer.Rotate(x, y, z);
          //Use your own rotation values to replace x, y and z.
    }