//colliderにtimeを伝達 private void sendTimeToColliders() { NoteCollider[] tNCollider = mBeatObject.GetComponentsInChildren <NoteCollider>(); LyricsCollider[] tLCollider = mBeatObject.GetComponentsInChildren <LyricsCollider>(); if (mTriplet) { tNCollider[0].mQuarterBeat = time.mQuarterBeat + 0.1f; tNCollider[1].mQuarterBeat = time.mQuarterBeat + 1.3f; tNCollider[2].mQuarterBeat = time.mQuarterBeat + 2.6f; tLCollider[0].mQuarterBeat = time.mQuarterBeat + 0.1f; tLCollider[1].mQuarterBeat = time.mQuarterBeat + 1.3f; tLCollider[2].mQuarterBeat = time.mQuarterBeat + 2.6f; } else { tNCollider[0].mQuarterBeat = time.mQuarterBeat + 0; tNCollider[1].mQuarterBeat = time.mQuarterBeat + 1; tNCollider[2].mQuarterBeat = time.mQuarterBeat + 2; tNCollider[3].mQuarterBeat = time.mQuarterBeat + 3; tLCollider[0].mQuarterBeat = time.mQuarterBeat + 0; tLCollider[1].mQuarterBeat = time.mQuarterBeat + 1; tLCollider[2].mQuarterBeat = time.mQuarterBeat + 2; tLCollider[3].mQuarterBeat = time.mQuarterBeat + 3; } }