public M_AWindow(Transform transform)
        {
            this.Transform       = transform;
            this.TempData        = M_WindowData.Create();
            subWindowsDictionary = new Dictionary <string, M_SubWindow>();

            M_UITools.AutoSetTransformPath(this);
        }
        /// <summary>
        /// 异步加载
        /// </summary>
        /// <param name="callback"></param>
        public void AsyncLoad(Action callback)
        {
            //  JDeBug.Inst.Log("开始任务:" + resourcePath);
            var o  = Resources.Load <GameObject>(resourcePath);
            var go = GameObject.Instantiate(o);

            Transform = go.transform;
            Transform.gameObject.SetActive(false);
            IsLoad = true;
            //自动查找节点
            M_UITools.AutoSetTransformPath(this);
            Init();
            if (callback != null)
            {
                callback();
            }
        }
//
        /// <summary>
        /// 同步加载
        /// </summary>
        public void Load()
        {
            var o = Resources.Load <GameObject>(resourcePath);

            if (o == null)
            {
                Debug.LogError("窗口资源不存在:" + resourcePath);
                return;
            }
            var go = GameObject.Instantiate(o);

            Transform = go.transform;
            Transform.gameObject.SetActive(false);
            IsLoad = true;
            //自动查找节点
            M_UITools.AutoSetTransformPath(this);
            Init();
        }