2023-04-03 11:04:31 +08:00

18 lines
373 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BF
{
public class CameraHelper : MonoBehaviour
{
[HideInInspector]
public float OriginFieldOfView = 0;
void Awake()
{
Camera camera = GetComponent<Camera>();
OriginFieldOfView = camera.fieldOfView;
}
}
}