Spaces:
Build error
Build error
| using UnityEngine; | |
| public class Rotator : MonoBehaviour { | |
| public float speed = 90f; | |
| void Update() { | |
| transform.Rotate(0, speed * Time.deltaTime, 0); | |
| } | |
| } | |
| using UnityEngine; | |
| public class Rotator : MonoBehaviour { | |
| public float speed = 90f; | |
| void Update() { | |
| transform.Rotate(0, speed * Time.deltaTime, 0); | |
| } | |
| } | |