CameraRotate.cs 216 B

123456789101112
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class CameraRotate : MonoBehaviour
  5. {
  6. private void Update()
  7. {
  8. transform.Rotate(new Vector3(0, 0.1f, 0));
  9. }
  10. }