private void SetupParticlePulse(GameObject asteroid) { ParticlePulse particlePulse = asteroid.GetComponentInChildren <ParticlePulse>(); Note newNote = asteroid.GetComponentInChildren <Note>(); particlePulse.SetupParticlePulse(newNote.beatsPerPhrase, this.phrase.currentStep); }
private void UpdateParticlePulse() { ParticlePulse oldParticlePulse = this.asteroidToEdit.GetComponentInChildren <ParticlePulse>(); oldParticlePulse.particleColor = this.asteroidColor; }