Abdul Mukheem Shaik 35fcbc1e24 initial commit
2024-11-06 18:38:19 +01:00

13 lines
231 B
C#

using UnityEngine;
public class ConstantRotate : MonoBehaviour
{
public Vector3 rotateAxis;
public float rotateSpeed;
void Update()
{
transform.Rotate(rotateAxis, Time.deltaTime * rotateSpeed);
}
}