|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class WarningTableClose : MonoBehaviour
|
|
{
|
|
public void OnClick()
|
|
{
|
|
DataHolder.main.warning = false;
|
|
}
|
|
public void Start()
|
|
{
|
|
gameObject.SetActive(DataHolder.main.warning);
|
|
}
|
|
}
|