using UnityEngine;
public class ChangeWindowByGM : MonoBehaviour
{
[SerializeField] private GameObject[] _windowsToClose;
[SerializeField] private GameObject _toOpen;
public void ChangeWindow()
{
for (int i = 0; i < _windowsToClose.Length; i++)
{
_windowsToClose[i].SetActive(false);
}
_toOpen.SetActive(true);
}
}