2024-11-29 21:37:01 +08:00

18 lines
405 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIAboutWindow : MonoBehaviour
{
private void Awake()
{
var maskBtn = this.transform.Find("mask").GetComponent<Button>();
maskBtn.onClick.AddListener(OnClicMaskBtn);
}
private void OnClicMaskBtn()
{
GameObject.Destroy(this.gameObject);
}
}