unity FrameCounter
개인 저장용. CircularArray로 쓰면 좋을거 같지만.. 디버깅용이니까 이 정도로도 괜찮을 듯. using System.Collections; using TMPro; using UnityEngine; public class FPSCounter : MonoBehaviour { private const int SAMPLE_SIZE = 20; private TextMeshProUGUI _txt_fps; private readonly Queue _timeQueue = new Queue(); private Coroutine _co; private void Awake() { TryGetComponent(out _txt_fps); } private void OnEnable() { if (_txt_fps != ..