1
0
forked from akanyan/mu3-mods

feat: a decent rating selector?

Except it shows an arrow to the right when it shouldn't
This commit is contained in:
2024-12-21 05:32:50 +00:00
parent 82c7bd9f94
commit 23331f8d56
4 changed files with 34 additions and 5 deletions

View File

@ -1,9 +1,11 @@
using MU3.CustomUI;
using MonoMod;
using MU3.CustomUI;
using MU3.Sequence;
using MU3.User;
using UnityEngine;
namespace MU3;
class patch_UIResultBattlePoint: UIResultBattlePoint {
private Animator animator_;
private MU3UICounter counterScore_;
@ -12,8 +14,9 @@ class patch_UIResultBattlePoint: UIResultBattlePoint {
private MU3UICounter counterScoreMinus_;
private GameObject hideScore_;
private extern void orig_disable(MU3UICounter counter);
private void disable(MU3UICounter counter) => orig_disable(counter);
[MonoModIgnore]
private extern void disable(MU3UICounter counter);
public extern void orig_initTechRating(PlayInfo playInfo);
public new void initTechRating(PlayInfo playInfo) {
((patch_MU3UICounter)counterScore_).isDispSuffix = NaiveRating.IsEnabled();