private void StartVersionCtrl()
    {
        inst_downloadPanel = PanelMgr.CreatePanelFromResources("UI/Prefab/DownloadPanel");
        inst_downloadPanel.AddComponent <DownloadPanelScript>();

        m_versionMgrGo      = new GameObject();
        m_versionMgrGo.name = "VersionMgr";
        VersionMgr m_versionMgr = m_versionMgrGo.AddComponent <VersionMgr>();

        m_versionMgr.InitStart(VersionMgrFinished);
    }
示例#2
0
    public override void Execute(IMessage message)
    {
        object data = message.Body;

        if (data == null)
        {
            return;
        }

        m_versionMgrGo      = new GameObject();
        m_versionMgrGo.name = "VersionMgr";
        VersionMgr m_versionMgr = m_versionMgrGo.AddComponent <VersionMgr>();

        m_versionMgr.InitStart(VersionMgrFinished);
    }