forked from akanyan/mu3-mods
fix(PlatScore): show on all charts
Probably fixes setting presets other than custom. No one tested those.
This commit is contained in:
@ -2,7 +2,6 @@
|
|||||||
using MU3.Game;
|
using MU3.Game;
|
||||||
using MU3.Sequence;
|
using MU3.Sequence;
|
||||||
using MU3.Util;
|
using MU3.Util;
|
||||||
using System.Collections;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace MU3;
|
namespace MU3;
|
||||||
@ -10,8 +9,7 @@ namespace MU3;
|
|||||||
class patch_UIResultTechScore: UIResultTechScore {
|
class patch_UIResultTechScore: UIResultTechScore {
|
||||||
private MU3UICounter counterFast_;
|
private MU3UICounter counterFast_;
|
||||||
private MU3UICounter counterLate_;
|
private MU3UICounter counterLate_;
|
||||||
private Animator animator_;
|
|
||||||
private static readonly int State_TechnicalScore_Loop;
|
|
||||||
private void cloneCounter(MU3UICounter counter, Color color, int value) {
|
private void cloneCounter(MU3UICounter counter, Color color, int value) {
|
||||||
var otherValue = counter.CounterAsInt;
|
var otherValue = counter.CounterAsInt;
|
||||||
var offset = 12;
|
var offset = 12;
|
||||||
@ -52,13 +50,9 @@ class patch_UIResultTechScore: UIResultTechScore {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private extern IEnumerator orig_showPlatinumScore(PlayInfo playInfo);
|
private extern void orig_drawTimingInclination(int numNotesFast, int numNotesLate);
|
||||||
|
private void drawTimingInclination(int numNotesFast, int numNotesLate) {
|
||||||
private IEnumerator showPlatinumScore(PlayInfo playInfo) {
|
orig_drawTimingInclination(numNotesFast, numNotesLate);
|
||||||
StartCoroutine(orig_showPlatinumScore(playInfo));
|
|
||||||
while(!AnimatorState.stateEquals(animator_, State_TechnicalScore_Loop)) {
|
|
||||||
yield return null;
|
|
||||||
}
|
|
||||||
drawCounters();
|
drawCounters();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user