超大量的更新 修复很多问题,gameplay特效初步

This commit is contained in:
2026-02-14 23:46:20 +08:00
parent ef8eb67259
commit 3a7a0b4669
360 changed files with 85670 additions and 4144 deletions
+10 -10
View File
@@ -20,7 +20,7 @@ public class SongDetailsUI : MonoBehaviour
public Text songSerialNumberText;
public Text personalRecordText;
// 新增:显示谱面(个人)分的文本
// Documentation text normalized.
public Text chartScoreText;
public Text thisSong_progressText;
@@ -30,12 +30,12 @@ public class SongDetailsUI : MonoBehaviour
public int id_of_thisSong;
[Header("查看曲绘大图")]
[Header("Inspector")]
public GameObject picDetail;
public Image profound_image;
public Text detail_informations_text;
[Header("难度选择按钮")]
[Header("Inspector")]
public Button Button_EZ;
public Button Button_HD;
public Button Button_IN;
@@ -47,12 +47,12 @@ public class SongDetailsUI : MonoBehaviour
{
if (SongDataHolder.SelectedSongData != null)
{
// 读取选中的 SongData
// Documentation text normalized.
currentSong = SongDataHolder.SelectedSongData;
this_song_SO = currentSong;
song_bgImage.sprite = currentSong.backgroudPIC;
// 更新 UI 显示
// Documentation text normalized.
songNameText.text = currentSong.songName;
artistNameText.text = currentSong.artistName;
painterNameText.text = currentSong.painter;
@@ -84,12 +84,12 @@ public class SongDetailsUI : MonoBehaviour
}
else
{
// Debug.LogError("SongDataHolder.SelectedSongData 为空!");
// Documentation text normalized.
}
picDetail.SetActive(false);
// 初始化难度按钮
// Documentation text normalized.
if (currentSong != null)
{
SetDifficultyButtons(currentSong.thisLevel_selectedDifficultyID);
@@ -128,8 +128,8 @@ public class SongDetailsUI : MonoBehaviour
difficultyDesciptionText.text = entry.difficultyDescription;
// read values from SongData (SO)
int chartPersonal = currentSong.GetPersonalRecord(difficulty); // 谱面个人分
int idol = currentSong.GetIdolRecord(difficulty); // 偶像分
int chartPersonal = currentSong.GetPersonalRecord(difficulty); // Documentation text normalized.
int idol = currentSong.GetIdolRecord(difficulty); // Documentation text normalized.
// Determine total: prefer stored total if present (>0), otherwise compute chartPersonal + idol
int total;
@@ -147,7 +147,7 @@ public class SongDetailsUI : MonoBehaviour
if (idolRecordText != null)
idolRecordText.text = idol.ToString();
// show chart personal (谱面分) if UI text provided
// Documentation text normalized.
if (chartScoreText != null)
chartScoreText.text = chartPersonal.ToString();