Пример #1
0
        private void Start()
        {
            fpsCounter     = _fpsCounter.GetComponent <TextMeshProUGUI>();
            prefabsSpawner = _prefabsSpawner.GetComponent <PrefabsSpawner>();

            StartCoroutine(DelayCoroutine(UpdateFramesPerSecond(updateRate), delayBeforeShowingFPS));
        }
 private void Start()
 {
     prefabsSpawner = _prefabsSpawner.GetComponent <PrefabsSpawner>();
     prefabsCounter = _prefabsCounter.GetComponent <TextMeshProUGUI>();
 }