Files
2026-02-21 16:40:15 -08:00

22 lines
522 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LayerLab.SimpleCasual
{
public class PanelSimpleCasual : MonoBehaviour
{
[SerializeField] private GameObject[] otherPanels;
public void OnEnable()
{
for (int i = 0; i < otherPanels.Length; i++) otherPanels[i].SetActive(true);
}
public void OnDisable()
{
for (int i = 0; i < otherPanels.Length; i++) otherPanels[i].SetActive(false);
}
}
}