跳步骤时候重置loading界面图

This commit is contained in:
huqibin 2025-04-23 16:39:58 +08:00
parent 763358e95b
commit 90940ae5dc
2 changed files with 1 additions and 2 deletions

View File

@ -63,7 +63,6 @@ public class StepState_7002 : StepState
{ {
Score_7002.cdzIndex = 0; Score_7002.cdzIndex = 0;
Score_7002.ResetDic(); Score_7002.ResetDic();
Player10007_7002.Instance.moveNum = 0; Player10007_7002.Instance.moveNum = 0;
Player10007_7002.Instance.isTour = false; Player10007_7002.Instance.isTour = false;
Player10007_7002.Instance.isNearCDZ = false; Player10007_7002.Instance.isNearCDZ = false;

View File

@ -78,7 +78,7 @@ public abstract class StepState : MonoBehaviour
if (GameManager.RunModelMgr.SceneType != jumpSence) if (GameManager.RunModelMgr.SceneType != jumpSence)
{ {
//跳场景 //跳场景
GameManager.UIMgr.ShowPanel<UI_LoadingPanel>(E_UI_Layer.System); GameManager.UIMgr.ShowPanel<UI_LoadingPanel>(E_UI_Layer.System, (panel) => { panel.Init(); });
GameManager.ScenesMgr.LoadSceneAsyn(sname, () => GameManager.ScenesMgr.LoadSceneAsyn(sname, () =>
{ {
Debug.Log("步骤场景:" + jumpSence.ToString()); Debug.Log("步骤场景:" + jumpSence.ToString());