Files
Net.Like.Xue.Tokyo/Assets/Arts/Artsystack -Modern Multiplayer GUI/Scripts/PanelArtsystackGui.cs
CortexCore a43901f90c Breakpoint
Before Remove Art Assets
2024-12-28 23:19:55 +08:00

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