using UnityEngine; public class RotateZ : MonoBehaviour { void Update() { transform.Rotate(new Vector3(0,0,Time.deltaTime * 100.0f), Space.World); } }