26 lines
518 B
C#
26 lines
518 B
C#
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()
|
|
{
|
|
AllHouseContro.GetInfo516();
|
|
AllHouseContro.GetInfo517();
|
|
|
|
historyPanel.ShowPanel();
|
|
}
|
|
}
|