18 lines
373 B
C#
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;
|
|
}
|
|
}
|
|
|
|
} |