Beispiel #1
0
        //-------∽-★-∽------∽-★-∽--------∽-★-∽数据操作∽-★-∽--------∽-★-∽------∽-★-∽--------//


        protected override void StartLoad()
        {
            m_loadReqLevel = m_loadReq as LoadReqLevel;

            //异步请求
            m_levelData = LevelMgr.me.LoadAsync(m_url, m_loadReqLevel.isAdditive, null, m_loadReq.referId);    //如果已经加载完成, 返回空
            if (m_levelData.isDone)
            {
                //加载成功
                OnComplete();
            }
            else
            {
                m_loadReq.OnStart();
                SchUpdate(true);
            }
        }
Beispiel #2
0
 protected override void __Close()
 {
     m_loadReqLevel = null;
 }