using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UI : MonoBehaviour
{
[SerializeField] private GameObject characterUI;
public UI_itemTooltip itemToolTip;
public UI_statToolTip statToopTip;
public void Start()
{
//itemToolTip = characterUI.GetComponentInChildren<UI_itemTooltip>();
//statToopTip = characterUI.GetComponentInChildren<UI_statToolTip>();
}
public void SwitchTo(GameObject _menu)
{
for(int i = 0;i < transform.childCount;i++)
{
transform.GetChild(i).gameObject.SetActive(false);
}
if(_menu != nul