RenderBowCamera.cs 311 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class RenderBowCamera : MonoBehaviour
  5. {
  6. Transform sphere;
  7. void Start()
  8. {
  9. sphere = transform.Find("Sphere");
  10. }
  11. void Update()
  12. {
  13. sphere.Rotate(Vector3.up, Time.deltaTime * 60);
  14. }
  15. }