补交提示词修改

This commit is contained in:
丛刚 2025-02-11 17:26:35 +08:00
parent 14e1b18773
commit 5a6fae3d7a

View File

@ -277,19 +277,26 @@ namespace ZXK.LouDiXvMuNiu
UpdateSelectItem(obj); UpdateSelectItem(obj);
WordExplain(obj); WordExplain(obj);
if (GameManager.Instance._DataNiuHandler.CurNiuHandler.Value.TaskName == ConstCtrl.TaskName_ActualOperation if (GameManager.Instance._DataNiuHandler.CurNiuHandler.Value.TaskName == ConstCtrl.TaskName_ActualOperation)
&&GameManager.Instance._DataNiuHandler.CurNiuHandler.PreviousValue.ThreeTaskName!=
GameManager.Instance._DataNiuHandler.CurNiuHandler.Value.ThreeTaskName)
{ {
imgIntroduceGeo.SetActive(false); imgIntroduceGeo.SetActive(false);
_introduceGeo.SetActive(false); _introduceGeo.SetActive(false);
UI_Manage.Instance.HidePanel("ShowToastUIPrefab"); UI_Manage.Instance.HidePanel("ShowToastUIPrefab");
if (GameManager.Instance._DataNiuHandler.CurNiuHandler.PreviousValue.ThreeTaskName !=
GameManager.Instance._DataNiuHandler.CurNiuHandler.Value.ThreeTaskName)
{
GameObject showTitleUIGeo = UI_Manage.Instance.ShowPanel("ShowTitleUIPrefab", Type.GetType("ZXK.LouDiXvMuNiu.ShowTitleUIPrefab"), UIGroup.Tip); GameObject showTitleUIGeo = UI_Manage.Instance.ShowPanel("ShowTitleUIPrefab", Type.GetType("ZXK.LouDiXvMuNiu.ShowTitleUIPrefab"), UIGroup.Tip);
showTitleUIGeo.GetComponent<ShowTitleUIPrefab>().SetTextAudMsg(obj.ThreeTaskName, null, () => showTitleUIGeo.GetComponent<ShowTitleUIPrefab>().SetTextAudMsg(obj.ThreeTaskName, null, () =>
{ {
WordTip(obj); WordTip(obj);
}); });
} }
else
{
WordTip(obj);
}
}
//此处判断是否显示工具箱 //此处判断是否显示工具箱
if (!GameManager.Instance._IsTrain&& if (!GameManager.Instance._IsTrain&&