22 lines
418 B
C#
22 lines
418 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.UI;
|
||
|
|
||
|
public class ListPanel : BasePanel
|
||
|
{
|
||
|
public static ListPanel instance;
|
||
|
public Button returnBtn;
|
||
|
public override void Start()
|
||
|
{
|
||
|
base.Start();
|
||
|
instance = this;
|
||
|
returnBtn.onClick.AddListener(OnClickReBtn);
|
||
|
}
|
||
|
|
||
|
public void OnClickReBtn()
|
||
|
{
|
||
|
HidePanel();
|
||
|
}
|
||
|
}
|