using System.Collections; using System.Collections.Generic; using UnityEngine; public class BaseWindow : MonoBehaviour { public virtual void SetShowInfo(string json) { Debug.Log("SetShowInfo===>"+json); this.gameObject.SetActive(true); } public virtual void SetHideInfo(string json) { this.gameObject.SetActive(false); } }