This repository has been archived on 2025-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
Net.Like.Xue.Tokyo/Assets/Arts/Artsystack -Modern Multipla.../Scripts/PanelArtsystackGui.cs

21 lines
525 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Artsystack.ArtsystackGui
{
public class PanelArtsystackGui : 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);
}
}
}