void Start() { cam = GetComponent <Camera>(); designVerticalFieldOfView = cam.fieldOfView; designHorizontalFieldOfView = calcHorizontalFov(cam.fieldOfView, designAspectRatio.ratio()); }
void Start() { cam = GetComponent <Camera>(); designVerticalFieldOfView = cam.fieldOfView; designHorizontalFieldOfView = calcHorizontalFov(cam.fieldOfView, designAspectRatio.ratio()); }