_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/HistoryBtn.cs

26 lines
520 B
C#
Raw Normal View History

2024-11-20 02:41:39 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HistoryBtn : MonoBehaviour
{
public Button btn;
public HistoryPanel historyPanel;
public AllHouseContro AllHouseContro;
void Start()
{
btn=GetComponent<Button>();
btn.onClick.AddListener(OnClickBtn);
}
public void OnClickBtn()
{
2024-12-09 10:48:14 +08:00
//AllHouseContro.GetInfo516();
2024-11-25 14:37:44 +08:00
AllHouseContro.GetInfo517();
2024-11-25 21:25:28 +08:00
2024-11-20 02:41:39 +08:00
historyPanel.ShowPanel();
}
}