Signed-off-by: TRAfoer <lhf190@outlook.com>

This commit is contained in:
2025-07-21 12:28:18 +08:00
parent eeecba5a3e
commit 20429587d2
13 changed files with 1897 additions and 88 deletions

View File

@@ -53,8 +53,8 @@ public class EventPoint : MonoBehaviour
public float value => FatherTab.scalevalue;
public void Refresh()
{
ReDraw(value);
UpdateValue();
ReDraw(value);
}
public void ReDraw(float value)
{
@@ -196,6 +196,7 @@ public class EventPoint : MonoBehaviour
FatherTab.FatherWindow.ConnectedPoint = this;
EvDrawimage.color = new Color(EvDrawimage.color.r, 0.75f, EvDrawimage.color.b, 1f);
FatherTab.FatherWindow.animationCurveTypeDropdown.onValueChanged.RemoveAllListeners();
// 更新下拉选项
FatherTab.FatherWindow.animationCurveTypeDropdown.ClearOptions();
List<string> enumNameList = System.Enum.GetNames(typeof(AnimationCurveType)).ToList();

View File

@@ -120,8 +120,8 @@ namespace Ichni.StartMenu
{
songLocationInputField.onEndEdit.AddListener((str) =>
{
string forward = Application.streamingAssetsPath + "/Songs/";
songName = str.Replace(forward, "");
string fullPath = Path.GetFullPath(str);
songName = Path.GetFileName(fullPath);
});
selectSongButton.onClick.AddListener(SelectSong);