24 lines
538 B
C#
24 lines
538 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class closePossibleButtonInfo : MonoBehaviour
|
|
{
|
|
public GameObject Panel;
|
|
public GameObject EPanel;
|
|
public GameObject SpacePanel;
|
|
public GameObject EPanel1;
|
|
public GameObject SpacePanel1;
|
|
|
|
void Update()
|
|
{
|
|
if(Panel.active == true)
|
|
{
|
|
EPanel.SetActive(false);
|
|
EPanel1.SetActive(false);
|
|
SpacePanel.SetActive(false);
|
|
SpacePanel1.SetActive(false);
|
|
}
|
|
}
|
|
}
|