Scriptum/Assets/closePossibleButtonInfo.cs

24 lines
538 B
C#
Raw Normal View History

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);
}
}
}