using UnityEngine; using UnityEngine.UI; public class UIBase : MonoBehaviour { public Button btnClose; public object[] _InitRarams; public virtual void Awake() { var tfBtnClose = transform.Find("btnClose"); if (tfBtnClose) { btnClose = transform.Find("btnClose").GetComponent