25 lines
703 B
C#
25 lines
703 B
C#
using Alchemy.Inspector;
|
|
using Code.Infrastructure.Generators;
|
|
using UnityEngine;
|
|
|
|
namespace Code.Infrastructure.Camera
|
|
{
|
|
[CreateAssetMenu(fileName = "GameCamera", menuName = "Configs/Camera/CameraConfig")]
|
|
[Config("Configs/Camera/CameraConfig")]
|
|
public class GameCamera : ScriptableObject
|
|
{
|
|
public bool Orthographic;
|
|
|
|
[ShowIf("Orthographic")]
|
|
public float OthographicSize;
|
|
|
|
[HideIf("Orthographic")]
|
|
public float FieldOfView;
|
|
|
|
public float NearClip;
|
|
public float FarClip;
|
|
public bool PostProcessing;
|
|
public bool RenderShadows;
|
|
public CameraClearFlags ClearFlags;
|
|
}
|
|
} |