From 0ac361d45ba588085093bccedb86eaab72692130 Mon Sep 17 00:00:00 2001 From: Zeo <67521686+ThatZeoGal@users.noreply.github.com> Date: Sun, 5 May 2024 18:11:44 -0500 Subject: [PATCH] math :( @minenice55 please help me thank you :)))))))))) --- .../Timeline/SpecialTmeline/TempoDialog.cs | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) 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)