menu bokeh undecided on

This commit is contained in:
ntr committed 2023-09-12 22:03:29 +10:00
1 parent ece7e8784a
commit 285006fd9e
14 files changed
+309 -74

No files matched your search

+6
View File
@@ -25,6 +25,8 @@ public class TimingUI : MonoBehaviour {
Label noticeTime;
Label noticePosition;
bool ShouldHide => timing?.sectors.Count() == 0;
static string[] completionMsgs = {
"smooth",
"very fast",
@@ -64,6 +66,10 @@ public class TimingUI : MonoBehaviour {
notice.AddToClassList("hidden");
}
void Start() {
if (ShouldHide) uiDocument.enabled = false;
}
void FixedUpdate() {
if (timer == null || timing == null) {
Debug.LogWarning("no timer");