public void OpenCloudFinish()
 {
     if (mCloudState == CloudState.OPENANDCLOSE)
     {
         Mask.Play("CloseCloudAnimation", 0, 0);
     }
     SimpleEventSystem.Publish(new CloudOpenAnimation());
 }
        private void RequestDrawMedal()
        {
            Dictionary <string, object> paramDict = new Dictionary <string, object>();

            paramDict.Add("babyId", PlayerPrefsUtil.GetBabyId());
            paramDict.Add("medalGrade", mData.medalModel.medalGrade);

            HttpUtil.PostWithSign <object>(UrlConst.DrawMedal, paramDict)
            .Subscribe(result =>
            {
                UIMgr.OpenPanel <MedalSharePanel>(new MedalSharePanelData()
                {
                    medalModel = mData.medalModel,
                }, UITransitionType.CLOUD);
                Back();
                SimpleEventSystem.Publish(new MedalDrawSuccess());
            }, exception =>
            {
            }).AddTo(this);
        }