33 lines
933 B
C#
Raw Normal View History

2025-01-02 12:15:45 +08:00
using CG.Framework;
2025-04-23 13:36:40 +08:00
using CG.UTility;
2025-01-02 12:15:45 +08:00
using System;
2025-04-23 13:36:40 +08:00
using UnityEngine;
2025-01-02 12:15:45 +08:00
/********************************************************************************
*Create By CG
*Function <EFBFBD><EFBFBD>ҳ״̬
*********************************************************************************/
namespace ZXK.LouDiXvMuNiu
{
public class HomeState : State
{
public override string _SceneName => "Home";
public HomeState(StateContext stateContext) : base(stateContext)
{
}
public override void EnterState()
{
UI_Manage.Instance.ShowPanel("HomePanel", Type.GetType("ZXK.LouDiXvMuNiu.HomePanel"), UIGroup.Main);
2025-04-23 13:36:40 +08:00
DateManager.UpdateTime(Tip, Tip, success: () =>
{
});
}
public void Tip(string str)
{
PopUpMng.PopAlert("", str, <><C8B7>", () =>
{
Application.Quit();
});
2025-01-02 12:15:45 +08:00
}
}
}