25 lines
491 B
C#
25 lines
491 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class ListBtn : MonoBehaviour
|
|
{
|
|
public Button btn;
|
|
public AllHouseContro AllHouseContro;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
btn=GetComponent<Button>();
|
|
btn.onClick.AddListener(OnClickBtn);
|
|
|
|
}
|
|
|
|
public void OnClickBtn()
|
|
{
|
|
AllHouseContro.GetInfo518();
|
|
ListPanel.instance.ShowPanel();
|
|
}
|
|
|
|
}
|