Hello, this is probably a no brainer for the coders here, I’m still learning so apologies.
I’m rotating objects in my space scene with the code below. This rotates on an axis at 1degree/frame and I’d like to make a variable that I can set from in unity which will scale this speed.
Help is appreciated, thank you!
void Update () {
transform.Rotate(Vector3.up * Time.deltaTime);
}