示例#1
0
    private void SetupParticlePulse(GameObject asteroid)
    {
        ParticlePulse particlePulse = asteroid.GetComponentInChildren <ParticlePulse>();
        Note          newNote       = asteroid.GetComponentInChildren <Note>();

        particlePulse.SetupParticlePulse(newNote.beatsPerPhrase, this.phrase.currentStep);
    }
示例#2
0
    private void UpdateParticlePulse()
    {
        ParticlePulse oldParticlePulse = this.asteroidToEdit.GetComponentInChildren <ParticlePulse>();

        oldParticlePulse.particleColor = this.asteroidColor;
    }