/// <summary> /// 关闭钓鱼 /// </summary> /// <param name="msg"></param> public void OnCloseFishing(stClosetFishingPropertyUserCmd_S msg) { this.m_bIsFishing = false; if (m_nextFishingCoroutine != null) { Engine.CorotinueInstance.Instance.StopCoroutine(m_nextFishingCoroutine); } DataManager.Manager <UIPanelManager>().HidePanel(PanelID.FishingPanel); //钓鱼时间结束 if (msg.flag == 1) { //弹出排行榜 DataManager.Manager <UIPanelManager>().ShowPanel(PanelID.FishingRankPanel); CloseAllPlayerFishing(); TipsManager.Instance.ShowTips("钓鱼活动结束"); } }
public void OnCloseFishing(stClosetFishingPropertyUserCmd_S msg) { DataManager.Manager <FishingManager>().OnCloseFishing(msg); }