This commit is contained in:
SoulliesOfficial
2025-07-26 04:20:25 -04:00
parent bae0bfbc20
commit abf81ece7b
196 changed files with 3909 additions and 964 deletions

View File

@@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using Ichni.RhythmGame;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
@@ -13,6 +14,8 @@ namespace Ichni.Menu.UI
public TMP_Text illustratorText;
public TMP_Text accuracyText;
public Image fullComboMark;
public Image allPerfectMark;
public void SetIllustration(Sprite cover, string illustratorName)
{
@@ -24,5 +27,17 @@ namespace Ichni.Menu.UI
{
charterNameText.text = charterName == string.Empty ? "Unknown Charter" : charterName;
}
public void SetBeatmapInfo(BeatmapSave beatmapSave)
{
accuracyText.text = $"{beatmapSave.accuracy * 100:F2}%";
if (!beatmapSave.isAllPerfect)
{
fullComboMark.gameObject.SetActive(beatmapSave.isFullCombo);
}
allPerfectMark.gameObject.SetActive(beatmapSave.isAllPerfect);
}
}
}