修改工作卡

This commit is contained in:
YangHua 2023-09-18 11:55:47 +08:00
parent 6a2a064934
commit 5f0f79ef59
3 changed files with 815 additions and 60 deletions

View File

@ -29,6 +29,8 @@ namespace Adam
public GameObject jobChoiceQuestionPanel;
public OptionItem optionItemPrefab;
public Transform optionItemContent;
public Text optionTitleText;
/// <summary>
/// 风险点分析
/// </summary>
@ -79,10 +81,12 @@ namespace Adam
if (index == 0)
{
GetAQCSandFXDFX("FXDFX");
optionTitleText.text = "工作现场风险点分析";
}
else if (index == 1)
{
GetAQCSandFXDFX("AQCS");
optionTitleText.text = "注意事项及安全措施";
}
else
{
@ -114,7 +118,7 @@ namespace Adam
}
private void OnOptionItemClick(int index, string info,string name)
private void OnOptionItemClick(int index, string info, string name)
{
if (name == "FXDFX")
{
@ -124,7 +128,7 @@ namespace Adam
{
aqcss[index].text = info;
}
}
}
}

View File

@ -35,12 +35,12 @@
"source": "builtin",
"dependencies": {
"com.unity.ide.visualstudio": "2.0.16",
"com.unity.ide.rider": "3.0.16",
"com.unity.ide.rider": "3.0.15",
"com.unity.ide.vscode": "1.2.5",
"com.unity.editorcoroutines": "1.0.0",
"com.unity.performance.profile-analyzer": "1.1.1",
"com.unity.test-framework": "1.1.31",
"com.unity.testtools.codecoverage": "1.2.2"
"com.unity.testtools.codecoverage": "1.0.1"
}
},
"com.unity.ide.rider": {
@ -92,7 +92,7 @@
"url": "https://packages.unity.cn"
},
"com.unity.services.core": {
"version": "1.6.0",
"version": "1.4.2",
"depth": 1,
"source": "registry",
"dependencies": {
@ -121,7 +121,7 @@
"url": "https://packages.unity.cn"
},
"com.unity.testtools.codecoverage": {
"version": "1.2.2",
"version": "1.0.1",
"depth": 1,
"source": "registry",
"dependencies": {