private void Awake() { _sceneFPSCounter = FindObjectOfType <FPSCounter>(); _sceneFPSCounter.IfIsNotNullThen(s => s.ClearHistory()); }