40 lines
923 B
C#
40 lines
923 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class Modellinkedlistpanl : MonoBehaviour
|
|
{
|
|
public Image modellinkedlist_panl;
|
|
public Button off2_botn;//关闭按钮
|
|
public Button verify2_botn;//确认按钮
|
|
public Button cancel2_botn;//取消按钮
|
|
void Start()
|
|
{
|
|
Trigger();//按钮触发方法
|
|
}
|
|
|
|
private void Trigger()
|
|
{
|
|
off2_botn.onClick.AddListener(() =>
|
|
{
|
|
modellinkedlist_panl.gameObject.SetActive(false);
|
|
});
|
|
verify2_botn.onClick.AddListener(() =>
|
|
{
|
|
modellinkedlist_panl.gameObject.SetActive(false);
|
|
});
|
|
cancel2_botn.onClick.AddListener(() =>
|
|
{
|
|
modellinkedlist_panl.gameObject.SetActive(false);
|
|
});
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|