using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PatchWindow : MonoBehaviour { /// /// 对话框封装类 /// private class MessageBox { private GameObject _cloneObject; private Text _content; private Button _btnOK; private System.Action _clickOK; public bool ActiveSelf { get { return _cloneObject.activeSelf; } } public void Create(GameObject cloneObject) { _cloneObject = cloneObject; _content = cloneObject.transform.Find("txt_content").GetComponent(); _btnOK = cloneObject.transform.Find("btn_ok").GetComponent