using UnityEngine; struct CameraSetting { public Vector3 _position; public Vector3 _rotation; public bool _orthographic; public bool _hdr; public float _distance; internal int _cullingMask; public Color _backgroundColor; public CameraSetting(Transform t, bool orthographic, bool hdr, int cullingMask, float distance, Color backgroundColor) { _position = new(0f, 0f, -150f); _rotation = t.eulerAngles; _orthographic = orthographic; _hdr = hdr; _cullingMask = cullingMask; _distance = distance; _backgroundColor = backgroundColor; } public CameraSetting(Vector3 pos, Vector3 eulerAngles, bool orthographic, bool hdr, int cullingMask, float distance, Color backgroundColor) { _position = pos; _rotation = eulerAngles; _orthographic = orthographic; _hdr = hdr; _cullingMask = cullingMask; _distance = distance; _backgroundColor = backgroundColor; } }