修改成绩UI的层级

This commit is contained in:
shenjianxing 2025-01-10 14:03:38 +08:00
parent d6fa77d75b
commit afadc78cbc
2 changed files with 3 additions and 4 deletions

View File

@ -61,7 +61,6 @@ namespace QFramework.Example
}
}
Debug.LogError(Global.Instance.appData.Modules.Count);
if (moduleCount == 1)
{
Global.Instance.curModule = Global.Instance.appData.Modules[lastIndex];

View File

@ -35,7 +35,7 @@ namespace QFramework.Example
scoreBtn.onClick.AddListener(() =>
{
UIKit.OpenPanelAsync<UIScore>().ToAction().StartGlobal();
UIKit.OpenPanelAsync<UIScore>(canvasLevel: UILevel.PopUI).ToAction().StartGlobal();
});
}
@ -65,10 +65,10 @@ namespace QFramework.Example
case Global.AppType.UnKnow:
break;
case Global.AppType.Study:
Score.gameObject.SetActive(true);
Score.gameObject.SetActive(false);
break;
case Global.AppType.Exam:
Score.gameObject.SetActive(false);
Score.gameObject.SetActive(true);
break;
case Global.AppType.All:
break;