You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
545 B
22 lines
545 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class WindowBase : MonoBehaviour
|
|
{
|
|
public List<GameObject> _activeList = new List<GameObject>();
|
|
public List<GameObject> _notActiveList = new List<GameObject>();
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|