| 12345678910111213141516171819202122232425262728293031323334353637383940 | using FairyGUI;using UI.Common;using UnityEngine;namespace GFGGame{    public class ModalStatusView : BaseView    {        private UI_ModalStatusUI _ui;        private GameObject _gameObject0;        protected override void OnInit()        {            base.OnInit();            _ui = UI_ModalStatusUI.Create();            viewCom = _ui.target;            layer = ConstViewLayer.MODAL;            isfullScreen = true;        }        protected override void OnShown()        {            base.OnShown();            string message = "请稍后...";            if (viewData != null)            {                message = (string)viewData;            }            _ui.m_txtMessage.text = message;            string resPath0 = ResPathUtil.GetViewEffectPath("ui_cxlj", "ui_cxlj_gq");            SceneController.AddObjectToView(null, null, _ui.m_holder, resPath0, out _gameObject0, out GoWrapper _wrapper0);        }        protected override void OnHide()        {            base.OnHide();        }    }}
 |