diff --git a/Assets/Scripts/CXX/StepState/2002/StepState_2002.cs b/Assets/Scripts/CXX/StepState/2002/StepState_2002.cs index 3b9107a..93bda95 100644 --- a/Assets/Scripts/CXX/StepState/2002/StepState_2002.cs +++ b/Assets/Scripts/CXX/StepState/2002/StepState_2002.cs @@ -47,6 +47,16 @@ public class StepState_2002 : StepState else if (num == 2) { //工作预约 + SorghumController[] sorghumControllers = GameObject.FindObjectsOfType(); + foreach (var item in sorghumControllers) + { + if (item.State == SorghumState.Healthy) + { + item.triggerName = "高粱_正常1"; + break; + } + + } //OfficeManager.Instance.mobileController.downIndex = 1; } @@ -54,7 +64,15 @@ public class StepState_2002 : StepState { //工作预约 //OfficeManager.Instance.mobileController.downIndex = 1; - + SorghumController[] sorghumControllers = GameObject.FindObjectsOfType(); + foreach (var item in sorghumControllers) + { + if (item.State == SorghumState.Diseased) + { + item.triggerName = "高粱_病株1"; + break; + } + } } } } diff --git a/Assets/StreamingAssets/Setting/绉戠洰/10002/10002_2002_璁¢噺瑁呯疆杞崲.xml b/Assets/StreamingAssets/Setting/绉戠洰/10002/10002_2002_璁¢噺瑁呯疆杞崲.xml index 5c02305..79237c1 100644 --- a/Assets/StreamingAssets/Setting/绉戠洰/10002/10002_2002_璁¢噺瑁呯疆杞崲.xml +++ b/Assets/StreamingAssets/Setting/绉戠洰/10002/10002_2002_璁¢噺瑁呯疆杞崲.xml @@ -8,11 +8,11 @@ - + - +