void Start() { _processor = AudioProcessor.FindObjectOfType <AudioProcessor> (); // _processor.onBeat.AddListener (onOnbeatDetected); _currentRowSpawnIndex = 0; StartCoroutine(SpawnPlatformsByTime()); }
void Start() { _processor = AudioProcessor.FindObjectOfType <AudioProcessor> (); // _processor.onBeat.AddListener (onOnbeatDetected); _currentRowSpawnIndex = 0; StartCoroutine(SpawnPlatformsByTime()); }