using System; using UnityEngine; using UnityEngine.UI; namespace MyRoomCustom { public class CreativeRoomUISaveLoad : MonoBehaviour { private void Start() { } public void OpenSavePanel() { if (this.m_IsOpenSave) { base.gameObject.SetActive(false); this.m_IsOpenSave = false; return; } this.m_IsOpenSave = true; this.m_IsOpenLoad = false; this.m_UITextTitle.text = "セーブ"; NDebug.Assert(this.m_Manager, "部屋作成シーンのマネージャが見つかりませんでした"); base.gameObject.SetActive(true); GameObject uiparentButtonArea = this.m_UIParentButtonArea; Transform transform = uiparentButtonArea.transform; int childCount = transform.childCount; for (int i = 0; i < childCount; i++) { int number = i; Transform child = transform.GetChild(number); Button componentInChildren = child.GetComponentInChildren