You've already forked taptap2024_GJ_chidouren
33 lines
790 B
C#
33 lines
790 B
C#
using System.Collections.Generic;
|
|
using System.StateSystem;
|
|
using Framework.UI;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using IcecreamView;
|
|
using StateSystem;
|
|
|
|
namespace Views{
|
|
|
|
public class InitTipPanel : IcecreamView.IC_AbstractModule
|
|
{
|
|
[SerializeField] private Button _button;
|
|
public override void OnOpenView(IC_ViewData parameters)
|
|
{
|
|
this._button.onClick.AddListener (() =>
|
|
{
|
|
UIManager.Instance.OpenLoading (() =>
|
|
{
|
|
this.ViewConnector.CloseView ();
|
|
GameStateManager.Instance.OpenState (GameGlobalState.GameHome);
|
|
});
|
|
});
|
|
|
|
}
|
|
|
|
public override void OnCloseView()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|