//PVP副本结算处理 void EctypeFinishHandle(INotifyArgs arg) { //1缓存消息体 //2场景摄像机移动主建筑上方 //3播放摄像机慢镜头倒塌动画 //4弹出结算界面 sMsgEctypePVP_Result_SC = (SMsgEctypePVP_Result_SC)arg; TraceUtil.Log(SystemModel.Lee, "开始慢镜头:" + Time.time); StartCoroutine("StartTimeScale"); }
//接收到服务器消息后调用,传入数据结构体对象 public void Show(object obj) { sMsgEctypePVP_Result_SC = (SMsgEctypePVP_Result_SC)obj; SoundManager.Instance.StopBGM(0f); SoundManager.Instance.PlayBGM("团队PVP战斗胜利音效"); InitManberList(); DoForTime.DoFunForTime(0.3f, PlayResultEff, null); DoForTime.DoFunForTime(1.3f, ShowMamberList, null); }