- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class CapyCamera : MonoBehaviour
- {
- public Camera targetCamera;
- public Camera myCamera;
-
- // Update is called once per frame
- void Update()
- {
- myCamera.fieldOfView= targetCamera.fieldOfView;
- }
- }
|