26 lines
524 B
C#
26 lines
524 B
C#
using Studio;
|
|
using Studio.Setting.Connect;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Studio
|
|
{
|
|
public class UI_DataRepositoryButtonList : MonoBehaviour
|
|
{
|
|
RectTransform rect;
|
|
|
|
private void Awake()
|
|
{
|
|
rect = GetComponent<RectTransform>();
|
|
}
|
|
|
|
public void FoldButtons(bool isFold)
|
|
{
|
|
foreach (Transform button in rect.transform)
|
|
{
|
|
button.gameObject.SetActive(isFold);
|
|
}
|
|
}
|
|
}
|
|
}
|