Editor: Song offset!

This commit is contained in:
Jenny Crowe
2022-02-24 07:02:21 -07:00
parent 2ce1741201
commit 72d55d887a
7 changed files with 706 additions and 8 deletions

View File

@ -160,7 +160,7 @@ namespace RhythmHeavenMania.Games.RhythmTweezers
// Move both vegetables to the left by vegDupeOffset, then reset their positions.
// On position reset, reset state of core vegetable.
transitionTween = VegetableHolder.DOLocalMoveX(-vegDupeOffset, Conductor.instance.secPerBeat * 0.5f)
transitionTween = VegetableHolder.DOLocalMoveX(-vegDupeOffset, Conductor.instance.secPerBeat * 0.5f / Conductor.instance.musicSource.pitch)
.OnComplete(() => {
var holderPos = VegetableHolder.localPosition;