using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Competitioncontentpanl : MonoBehaviour
{
    public Image Competitioncontent_panl;
    public Button off_botn;//关闭按钮
    public Button verify_botn;//确定按钮
    public Button cancel_botn;//取消按钮
    void Start()
    {
        Interactionbtn();//这个页面交互按钮
    }

    private void Interactionbtn()
    {
        off_botn.onClick.AddListener(() =>
        {
            Competitioncontent_panl.gameObject.SetActive(false);
        });
        verify_botn.onClick.AddListener(() =>
        {
            Competitioncontent_panl.gameObject.SetActive(false);
        });
        cancel_botn.onClick.AddListener(() =>
        {
            Competitioncontent_panl.gameObject.SetActive(false);
        });
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}