using System.Collections; using System.Collections.Generic; using UnityEngine; public class WindowBase : MonoBehaviour { public List _activeList = new List(); public List _notActiveList = new List(); public virtual void Init() { for (int i = 0; i < _activeList.Count; i++) { _activeList[i].SetActive(true); } for (int i = 0; i < _notActiveList.Count; i++) { _notActiveList[i].SetActive(false); } } }