public int speed; private void FixedUpdate() { transform.Rotate (0,0,speed*Time.deltaTime); }
public float speed = 50.0f; void Update() { transform.Rotate(Vector3.up * speed * Time.deltaTime); }