using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotate_Test : MonoBehaviour { // Start is called before the first frame update private Vector3 rotationSpeed = new Vector3(0, 6, 0); void Update(){ this.gameObject.transform.Rotate(rotationSpeed * Time.deltaTime, Space.Self); } }