33 lines
933 B
C#
33 lines
933 B
C#
using CG.Framework;
|
|
using CG.UTility;
|
|
using System;
|
|
using UnityEngine;
|
|
/********************************************************************************
|
|
*Create By CG
|
|
*Function Ö÷ҳ״̬
|
|
*********************************************************************************/
|
|
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);
|
|
DateManager.UpdateTime(Tip, Tip, success: () =>
|
|
{
|
|
});
|
|
}
|
|
public void Tip(string str)
|
|
{
|
|
PopUpMng.PopAlert("", str, "È·¶¨", () =>
|
|
{
|
|
Application.Quit();
|
|
});
|
|
}
|
|
}
|
|
}
|