-- 382〜419 ビートの間も、レーン 0 と 6 のノーツの速度を変更 if currentBeat >= 382 and currentBeat <= 419 then
function onSpawnNote(noteController)
-- レーン 0 と 6 のノーツの速度を変更
if noteController.Lane == 6 then
noteController:SetIndividualSpeed(-1)
end
end
end
function onSpawnNote(noteController)
for i= 0, 6 ,1 do
--レーン0とレーン6を指定
if i == 0 or i == 6 then
if noteController.Lane == i then
JustBeat = noteController.JustBeat
--範囲指定
if 382 <= JustBeat or JustBeat <= 419 then
noteController:SetIndividualSpeed(-1)
end
end
end
end
end
こんな感じかな?
function onSpawnNote(noteController) if noteController.Lane == 0 then noteController:SetIndividualSpeed(-1) end end
Laneの値は左から0,1,2,⋯,6となっています。
ミラー設定補完は無いので注意してください。
ありがとうございます!!