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

@@ -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);