最新修改提交
This commit is contained in:
parent
1111161bc8
commit
1d4a5ebe77
@ -417,6 +417,7 @@ namespace DongWuYiXue.DaoNiaoShu
|
||||
else
|
||||
{
|
||||
AddScore(0, scoreId);
|
||||
//GameManager.Instance.kaoheManager.AddScore(0, scoreId, null);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -41,15 +41,16 @@ namespace DongWuYiXue.DaoNiaoShu
|
||||
fsm.ShowSpeakPanel("操作后处理》操作后嘱咐", "先生,您好。已经将患宠膀胱内潴留的尿液通过导尿管已经引流出来了,下一步需要查找导致急性尿潴留的病因,然后再对因治疗",
|
||||
new Vector3(730f, 85f), 2, 0, 2, c =>
|
||||
{
|
||||
fsm.PlayClip("操作后嘱咐_TimeLine", () =>
|
||||
{
|
||||
Game.Instance.sound.StopBGM();
|
||||
fsm.PlayClip("好的_TimeLine", () =>
|
||||
{
|
||||
GameManager.Instance.uiManager.CloseUI<SpeakPanel>();
|
||||
//fsm.PlayClip("操作后嘱咐_TimeLine", () =>
|
||||
//{
|
||||
Game.Instance.sound.StopBGM();
|
||||
//fsm.PlayClip("好的_TimeLine", () =>
|
||||
//{
|
||||
fsm.Hide("男护士文字位置");
|
||||
fsm.nextState = true;
|
||||
});
|
||||
});
|
||||
//});
|
||||
//});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,9 +23,13 @@ namespace DongWuYiXue.DaoNiaoShu
|
||||
}
|
||||
void AddEffect(string score, string totalScore)
|
||||
{
|
||||
transform.FindFirst<TextMeshProUGUI>("AddScore_Txt").text = $"+{score}";
|
||||
transform.FindFirst("AddScoreAnim").gameObject.SetActive(false);
|
||||
transform.FindFirst("AddScoreAnim").gameObject.SetActive(true);
|
||||
if (!score.Equals("0"))
|
||||
{
|
||||
transform.FindFirst<TextMeshProUGUI>("AddScore_Txt").text = $"+{score}";
|
||||
transform.FindFirst("AddScoreAnim").gameObject.SetActive(false);
|
||||
transform.FindFirst("AddScoreAnim").gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
scoreText.text = totalScore;
|
||||
//switch (score)
|
||||
//{
|
||||
|
||||
@ -122,7 +122,8 @@ namespace DongWuYiXue.DaoNiaoShu
|
||||
}
|
||||
else if (str.Contains("error") || string.IsNullOrEmpty(str))
|
||||
{
|
||||
GameManager.Instance.fsm.AddScore(0, id);
|
||||
GameManager.Instance.kaoheManager.AddScore(0, id, null);
|
||||
Game.Instance.eventManager.Raise(new PlayTrueOrFalseEvent() { isTrue = false });
|
||||
userInput.text = tipTxt;
|
||||
sendAction?.Invoke(false);
|
||||
}
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user