summaryrefslogtreecommitdiff
path: root/GameCode/Rotate.cs
blob: 04f988921969c2ad2d79957d0e3877e2aa081e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
using UnityEngine;

public class Rotate : MonoBehaviour
{
	public float speed;

	private void Update()
	{
		base.transform.Rotate(Vector3.forward * speed * TimeHandler.deltaTime, Space.World);
	}
}