25 lines
561 B
C#
25 lines
561 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
public class Understaffed : MonoBehaviour
|
|
{
|
|
private Button closeBtn;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
closeBtn = transform.Find("bg/topbg/closeBtn").GetComponent<Button>();
|
|
closeBtn.onClick.AddListener(OnClickCloseBtn);
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
void OnClickCloseBtn()
|
|
{
|
|
Game.uiManager.CloseUI("Schedule_host03");
|
|
}
|
|
}
|