using Api; using Game; using Message; using Plugins.CxShine.page; using UnityEngine; using UnityEngine.SceneManagement; namespace UI { public class GameStartJumper { public static void JumpGameScene(string battleSession) { PageManagerComp.singleton.HideUI(); MessageComp.Instance.IntervalTime = 0.5f; Debug.Log("on jump game " + battleSession + "==="); GameCore.Instance.curBattleSession = battleSession; SceneManager.LoadScene("Battle"); } public static void BackToUI() { MessageComp.Instance.IntervalTime = 1f; SceneManager.LoadScene("Hall"); PageManagerComp.singleton.DisplayUI(); HallComp.Instance.BackToHallAndRefreshUI(); } } }