Files
EnglewoodLAB/Assets/Scripts/UI/SettingPanel/PanelBase.cs
SOOBEEN HAN f1894889ee <refactor> Octopus Twin 템플릿 적용
- 기능 외 UI 구조만 적용
- 프로젝트에 걸맞는 UI는 재작업 필요
2026-02-23 18:20:09 +09:00

30 lines
624 B
C#

using System;
using UnityEngine.UI;
using static UnityEngine.UI.Button;
namespace EnglewoodLAB.UI
{
public abstract class PanelBase : UIBase
{
}
public static class PanelBaseExtension
{
public static void SetActive(this PanelBase[] pbs, bool value)
{
foreach(var p in pbs)
{
p.SetActive(value);
}
}
public static void SetActive(this PanelBase[] pbs, bool value, int count)
{
for (int i = 0; i < count; ++i)
{
pbs[i].SetActive(value);
}
}
}
}