コード例 #1
0
ファイル: AppPanel.cs プロジェクト: liupingping/UIUntFream
    public void hide()
    {
//            isAppShowIng = false;
//            if (_app)
//            {
//                _app.superRemoveEvent();
//                _app.removeEvent();
//                if (_app is IAutoRes)
//                {
//                    IAutoRes(_app).autoDispose();
//                }
//                if (!ClientConfig.isRelease)
//                {
//                    TweenLite.delayedCall(0.3, checkEvent);
//                }
//                _app.hide();
//                AppDispather.instance.dispatchEvent(new AppEvent(AppEvent.APP_HIDE, appInfo));
//            }

        isAppShowIng = false;
        if (_IUIBase != null)
        {
            _IUIBase.removeEvent();
            _IUIBase.hide();
        }

        if (prefabAssetLoadAgent != null)
        {
            prefabAssetLoadAgent.Release();
        }
    }