WX-Game1/Assets/Scripts/Manager/CheckManager.cs

19 lines
344 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CheckManager : MonoBehaviour
{
private void Awake()
{
this.GetComponent<Button>().onClick.AddListener(HideUI);
}
private void HideUI()
{
UIManager.Instance.ShowPage("签到");
}
}