void OnThirtySecond(BeatArgs e) { if (e.TickMask [TickValue.Quarter]) { target *= -1f; } }
void OnThirtySecond(BeatArgs e) { if (e.TickMask [TickValue.Eighth]) { // audio.clip = clips [Random.Range (0, 1)]; //audio.Play (); } }
public void OnThirtySecond(BeatArgs e) { if (e.TickMask[TickValue.Measure]) { // rhythm creation / beat visual changeRhythm = true; } //else if (e.TickMask[TickValue.Quarter]) //{ // // rhythm creation / beat visual // changeRhythm = true; //} switch (timeScale) { case 0: if (e.TickMask[TickValue.Measure]) { // rhythm creation / beat visual showRhythm = true; } break; case 1: if (e.TickMask[TickValue.Quarter]) { // rhythm creation / beat visual showRhythm = true; } break; case 2: if (e.TickMask[TickValue.Eighth]) { // rhythm creation / beat visual showRhythm = true; } break; case 3: if (e.TickMask[TickValue.Sixteenth]) { // rhythm creation / beat visual showRhythm = true; } break; case 4: if (e.TickMask[TickValue.ThirtySecond]) { // rhythm creation / beat visual showRhythm = true; } break; } }