You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.StateSystem;
|
||||
using Framework.UI;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using IcecreamView;
|
||||
using StateSystem;
|
||||
|
||||
namespace Views{
|
||||
|
||||
@@ -10,6 +13,14 @@ namespace Views{
|
||||
[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);
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user