using System; using UnityEngine; [RequireComponent(typeof(Camera))] public class CameraSetting : SingletonMono { private void Awake() { QualitySettings.vSyncCount = 0; Application.targetFrameRate = R.Settings.FPS; base.GetComponent().transparencySortMode = TransparencySortMode.Orthographic; } }