using UnityEngine;
public class CameraSizeChanger : MonoBehaviour
{
public Camera camera; // Ссылка на компонент камеры
private void Start()
{
ChangeCameraSize(15f);
}
private void ChangeCameraSize(float newSize)
{
camera.orthographicSize = newSize;
}
}