最新修改提交

This commit is contained in:
高铎 2025-09-30 14:54:08 +08:00
parent 6c6d6fb1be
commit 87ead324a9
7 changed files with 79 additions and 4 deletions

View File

@ -341,7 +341,8 @@ namespace DongWuYiXue.QiGuanChaGuan
{
if (isTure)
{
GameManager.Instance.kaoheManager.AddScore(score, scoreId, (s, t) => {
GameManager.Instance.kaoheManager.AddScore(score, scoreId, (s, t) =>
{
GameManager.Instance.uiManager.GetUI<ScorePanel>().SetScore(s.ToString(), t.ToString());
});
}
@ -370,7 +371,8 @@ namespace DongWuYiXue.QiGuanChaGuan
//}
if (isTrue)
{
GameManager.Instance.kaoheManager.AddScore(score, scoreId, (s, t) => {
GameManager.Instance.kaoheManager.AddScore(score, scoreId, (s, t) =>
{
GameManager.Instance.uiManager.GetUI<ScorePanel>().SetScore(s.ToString(), t.ToString());
});
}
@ -421,10 +423,14 @@ namespace DongWuYiXue.QiGuanChaGuan
{
Game.Instance.eventManager.Raise(new PlayTrueOrFalseEvent() { isTrue = true });
}
else
else if (score <= 0 && GameManager.Instance.uiManager.GetUI<TipBtnPanel>().tip == false)
{
Game.Instance.eventManager.Raise(new PlayTrueOrFalseEvent() { isTrue = false });
}
else if (score <= 0 && GameManager.Instance.uiManager.GetUI<TipBtnPanel>().tip)
{
Game.Instance.eventManager.Raise(new PlayTrueOrFalseEvent() { isTrue = true });
}
if (GameManager.Instance.uiManager.GetUI<TipBtnPanel>().tip == false)
{
GameManager.Instance.kaoheManager.AddScore(score, id, (s, t) =>
@ -432,6 +438,13 @@ namespace DongWuYiXue.QiGuanChaGuan
GameManager.Instance.uiManager.GetUI<ScorePanel>().SetScore(s.ToString(), t.ToString());
});
}
else if (GameManager.Instance.uiManager.GetUI<TipBtnPanel>().tip == true)
{
GameManager.Instance.kaoheManager.AddScore(0, id, (s, t) =>
{
GameManager.Instance.uiManager.GetUI<ScorePanel>().SetScore(s.ToString(), t.ToString());
});
}
GameManager.Instance.uiManager.GetUI<TipBtnPanel>().tip = false;
}

View File

@ -14,6 +14,10 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.Light("12mm폭밗돔밗");
fsm.EnableInteraction("12폭밗돔밗쇱꿴폭쵱昑");
fsm.ShowTipBtn(() =>
{
fsm.Light_EnableInteraction("12mm폭밗돔밗", true);
}, 2);
fsm.InteractionDown("12폭밗돔밗쇱꿴폭쵱昑", c =>
{
if (fsm.main_gameModel.modeType == ModeType.ShiXun)
@ -35,6 +39,12 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.Show("미땍<EBAFB8>깃션貫零");
fsm.Light_EnableInteraction("미땍<EBAFB8>깃션貫零");
fsm.ShowArrow("헝듐샌미땍<EBAFB8>깃션貫零", "미땍<EBAFB8>깃션貫零");
fsm.ShowTipBtn(() =>
{
fsm.Show("미땍<EBAFB8>깃션貫零");
fsm.Light_EnableInteraction("미땍<EBAFB8>깃션貫零", true);
fsm.ShowArrow("헝듐샌미땍<EBAFB8>깃션貫零", "미땍<EBAFB8>깃션貫零", 0, 0, 5, true);
}, 2);
});
});

View File

@ -16,6 +16,13 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.PlayBgm(0);
fsm.ShowArrow("请拖拽纱布", "利多卡因纱布");
fsm.ShowTipBtn(() =>
{
fsm.Light_EnableInteraction("利多卡因纱布", true);
fsm.Light_EnableInteraction("固定导管的高亮", true);
fsm.ShowArrow("请拖拽纱布", "利多卡因纱布", 0, 0, 5, true);
}, 2);
fsm.InteractionTrigger("利多卡因纱布", c =>
{
if (c.name.Equals("固定导管的高亮"))

View File

@ -12,7 +12,7 @@ namespace DongWuYiXue.QiGuanChaGuan
if (fsm.main_gameModel.modeType == ModeType.KaoHe)
{
fsm.ShowTxtQuestion("操作前准备》检查套囊气密性》步骤1", 1, 4, 3, () =>
fsm.ShowTxtQuestion("操作前准备》检查套囊气密性》步骤1", 1, 4, 4, () =>
{
fsm.ShowTip(0);
fsm.PlayBgm(0);
@ -21,6 +21,12 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.Light("10mm气管导管");
fsm.EnableInteraction("10气管导管气密性");
fsm.ShowArrow("请拖拽5ml注射器", "5ml注射器");
fsm.ShowTipBtn(() =>
{
fsm.Light("10mm气管导管",true);
fsm.Light_EnableInteraction("5ml注射器", true);
fsm.ShowArrow("请拖拽5ml注射器", "5ml注射器", 0, 0, 5, true);
}, 2);
});
}
else if (fsm.main_gameModel.modeType == ModeType.ShiXun)
@ -57,6 +63,12 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.Light("12mm气管导管");
fsm.EnableInteraction("12气管导管检查气密性");
fsm.ShowArrow("请拖拽5ml注射器", "5ml注射器");
fsm.ShowTipBtn(() =>
{
fsm.Light("12mm气管导管", true);
fsm.Light_EnableInteraction("5ml注射器", true);
fsm.ShowArrow("请拖拽5ml注射器", "5ml注射器", 0, 0, 5, true);
}, 2);
});
}
if (c.name.Equals("12气管导管检查气密性"))
@ -81,6 +93,12 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.Light("14mm气管导管");
fsm.EnableInteraction("14气管导管检查气密性");
fsm.ShowArrow("请拖拽5ml注射器", "5ml注射器");
fsm.ShowTipBtn(() =>
{
fsm.Light("14mm气管导管", true);
fsm.Light_EnableInteraction("5ml注射器", true);
fsm.ShowArrow("请拖拽5ml注射器", "5ml注射器", 0, 0, 5, true);
}, 2);
});
}
if (c.name.Equals("14气管导管检查气密性"))

View File

@ -15,6 +15,14 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.Light_EnableInteraction("二氧化碳监测装置");
fsm.Light_EnableInteraction("二氧化碳监测装置位置");
fsm.ShowArrow("请拖拽二氧化碳监测装置", "二氧化碳监测装置");
fsm.ShowTipBtn(() =>
{
fsm.Light_EnableInteraction("二氧化碳监测装置", true);
fsm.Light_EnableInteraction("二氧化碳监测装置位置", true);
fsm.ShowArrow("请拖拽二氧化碳监测装置", "二氧化碳监测装置", 0, 0, 5, true);
}, 2);
fsm.InteractionTrigger("二氧化碳监测装置", c =>
{
if (c.name.Equals("二氧化碳监测装置位置"))
@ -38,6 +46,11 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.PlayBgm(1);
fsm.Light_EnableInteraction("呼吸机");
fsm.ShowArrow("请点击呼吸机", "呼吸机");
fsm.ShowTipBtn(() =>
{
fsm.Light_EnableInteraction("呼吸机", true);
fsm.ShowArrow("请点击呼吸机", "呼吸机", 0, 0, 5, true);
}, 2);
});
}
});

View File

@ -16,6 +16,14 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.EnableInteraction("测算导管插入长度触发");
fsm.Light_EnableInteraction("利多卡因喷壶");
fsm.ShowArrow("请拖拽利多卡因喷壶", "利多卡因喷壶");
fsm.ShowTipBtn(() =>
{
fsm.Light("测算导管插入长度",true);
fsm.Light_EnableInteraction("利多卡因喷壶", true);
fsm.ShowArrow("请拖拽利多卡因喷壶", "利多卡因喷壶", 0, 0, 5, true);
}, 2);
fsm.InteractionTrigger("利多卡因喷壶", c =>
{
if (c.name.Equals("测算导管插入长度触发"))
@ -43,6 +51,12 @@ namespace DongWuYiXue.QiGuanChaGuan
fsm.EnableInteraction("测算导管插入长度触发");
fsm.Light_EnableInteraction("利多卡因纱布");
fsm.ShowArrow("请拖拽纱布", "利多卡因纱布");
fsm.ShowTipBtn(() =>
{
fsm.Light("测算导管插入长度", true);
fsm.Light_EnableInteraction("利多卡因纱布", true);
fsm.ShowArrow("请拖拽纱布", "利多卡因纱布", 0, 0, 5, true);
}, 2);
});
}
});