CameraToLook.cs 304 B

12345678910111213141516171819
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class CameraToLook : MonoBehaviour
  5. {
  6. public bool isNew = true;
  7. public static CameraToLook ins = null;
  8. void Start()
  9. {
  10. ins = this;
  11. }
  12. void OnDestroy()
  13. {
  14. ins = null;
  15. }
  16. }