diff --git a/Assets/Scripts/LevelEditor/Timeline/SpecialTmeline/TempoDialog.cs b/Assets/Scripts/LevelEditor/Timeline/SpecialTmeline/TempoDialog.cs index fe2dd3c35..9b6b6b613 100644 --- a/Assets/Scripts/LevelEditor/Timeline/SpecialTmeline/TempoDialog.cs +++ b/Assets/Scripts/LevelEditor/Timeline/SpecialTmeline/TempoDialog.cs @@ -118,6 +118,45 @@ public class TempoDialog : Dialog } } + // public void SetStraightSwing() + // { + // if (tempoObj != null) + // { + // tempoObj.SetSwing(whatever makes the swing ratio 50%); + // swingInput.text = (tempoObj.chartEntity["swing"] * 400).ToString("F"); + // swingSlider.value = tempoObj.chartEntity["swing"]; + // } + // } + + // public void SetLightSwing() + // { + // if (tempoObj != null) + // { + // tempoObj.SetSwing(whatever makes the swing ratio 60%); + // swingInput.text = (tempoObj.chartEntity["swing"] * 400).ToString("F"); + // swingSlider.value = tempoObj.chartEntity["swing"]; + // } + // } + + // public void SetNormalSwing() + // { + // if (tempoObj != null) + // { + // tempoObj.SetSwing(whatever makes the swing ratio 66.67%); + // swingInput.text = (tempoObj.chartEntity["swing"] * 400).ToString("F"); + // swingSlider.value = tempoObj.chartEntity["swing"]; + // } + // } + // public void SetStraightSwing() + // { + // if (tempoObj != null) + // { + // tempoObj.SetSwing(whatever makes the swing ratio 75%); + // swingInput.text = (tempoObj.chartEntity["swing"] * 400).ToString("F"); + // swingSlider.value = tempoObj.chartEntity["swing"]; + // } + // } + public void SwingDivisionToggle() { if (tempoObj != null)