UI HUGE UPDATE

This commit is contained in:
FloatGaming
2026-06-25 11:48:56 +08:00
parent bd2a06f4c7
commit b2a1e307a4
1806 changed files with 359863 additions and 20822 deletions
+5 -5
View File
@@ -205,7 +205,7 @@ public class SongDetailsUI : MonoBehaviour
return;
}
if (song_bgImage != null) song_bgImage.sprite = song.backgroudPIC;
if (song_bgImage != null) song_bgImage.sprite = song.GetResolvedBackgroundPic();
if (songNameText != null) songNameText.text = song.songName;
if (artistNameText != null) artistNameText.text = song.artistName;
if (painterNameText != null) painterNameText.text = song.painter;
@@ -213,7 +213,7 @@ public class SongDetailsUI : MonoBehaviour
if (dlcNameText != null) dlcNameText.text = song.belongsTo_whichDLC;
if (songSerialNumberText != null) songSerialNumberText.text = song.songID.ToString();
if (bpmText != null) bpmText.text = LocalizationService.GetFormat("song.details.bpm", song.bpm);
if (profound_image != null) profound_image.sprite = song.fullscreen_songPicture;
if (profound_image != null) profound_image.sprite = song.GetResolvedFullscreenSongPicture();
if (timeSpentText != null) timeSpentText.text = LocalizationService.GetFormat("song.details.play_time", song.time_totalPlayingTime.ToString("F0"));
if (enterTimeText != null) enterTimeText.text = LocalizationService.GetFormat("song.details.play_count", song.game_enterTimes);
if (detail_informations_text != null)
@@ -252,7 +252,7 @@ public class SongDetailsUI : MonoBehaviour
currentSong = SongDataHolder.SelectedSongData;
this_song_SO = currentSong;
song_bgImage.sprite = currentSong.backgroudPIC;
song_bgImage.sprite = currentSong.GetResolvedBackgroundPic();
// Documentation text normalized.
songNameText.text = currentSong.songName;
artistNameText.text = currentSong.artistName;
@@ -262,7 +262,7 @@ public class SongDetailsUI : MonoBehaviour
songSerialNumberText.text = currentSong.songID.ToString();
bpmText.text = LocalizationService.GetFormat("song.details.bpm", currentSong.bpm);
profound_image.sprite = currentSong.fullscreen_songPicture;
profound_image.sprite = currentSong.GetResolvedFullscreenSongPicture();
if (timeSpentText != null) timeSpentText.text = LocalizationService.GetFormat("song.details.play_time", currentSong.time_totalPlayingTime.ToString("F0"));
if (enterTimeText != null) enterTimeText.text = LocalizationService.GetFormat("song.details.play_count", currentSong.game_enterTimes);
@@ -270,7 +270,7 @@ public class SongDetailsUI : MonoBehaviour
id_of_thisSong = currentSong.songID;
detail_informations_text.text = LocalizationService.GetFormat("song.details.information",
currentSong.artistName, currentSong.songName, currentSong.painter, currentSong.level_creator, currentSong.belongsTo_whichDLC);
if (currentSong.illustration != null)
if (currentSong.GetResolvedIllustration() != null)
{
//songImage.sprite = currentSong.illustration;
//songImage.enabled = true;