0121
This commit is contained in:
parent
5f0c4728da
commit
1ae8ef7d94
|
@ -8867,6 +8867,10 @@ PrefabInstance:
|
|||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1508266232694078962, guid: 906cc253ee10599478864236a349d004, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 1.577
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5370190688320940380, guid: 906cc253ee10599478864236a349d004, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
|
@ -8895,6 +8899,10 @@ PrefabInstance:
|
|||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9208951480293848064, guid: 906cc253ee10599478864236a349d004, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 1.572
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents:
|
||||
- {fileID: 4487972598169150845, guid: 906cc253ee10599478864236a349d004, type: 3}
|
||||
- {fileID: 6573384303805956468, guid: 906cc253ee10599478864236a349d004, type: 3}
|
||||
|
|
|
@ -65,6 +65,24 @@ public class StepState_9001 : StepState
|
|||
else if (num == 3)
|
||||
{
|
||||
Score_9001.cdzIndex = 0;
|
||||
|
||||
//清空背包数据
|
||||
PacksackBagMgr.Instance.ClearAllData();
|
||||
//生成服装
|
||||
List<ItemInfo> items = ToolAndmaterialMgr.Instance.CreateItemInfoByName(new List<string> { "国网安全帽", "工作服", "绝缘手套", "绝缘靴" });
|
||||
//放入背包
|
||||
items.ForEach(item =>
|
||||
{
|
||||
PacksackBagMgr.Instance.AddOneToolOrMater(item);
|
||||
//穿上
|
||||
PacksackBagMgr.Instance.WearItemState(item, true);
|
||||
});
|
||||
//生成工具
|
||||
List<ItemInfo> items2 = ToolAndmaterialMgr.Instance.CreateItemInfoByName(new List<string> { "剥线钳", "绝缘铲", "验电笔", "国网安全帽", "工作服", "绝缘手套", "绝缘靴", "工作证", "盒装封印", "绝缘胶带", "三相四线费控智能电能表", "盒装计量箱电子标签" });
|
||||
items2.ForEach(item =>
|
||||
{
|
||||
PacksackBagMgr.Instance.AddOneToolOrMater(item);
|
||||
});
|
||||
}
|
||||
else if (num == 4)//Ñéµç
|
||||
{
|
||||
|
@ -88,19 +106,10 @@ public class StepState_9001 : StepState
|
|||
|
||||
device_Control.InitEWM();
|
||||
|
||||
//Device_Control_9001.EWM_OBJ = device_Control.ewmh;
|
||||
//device_Control.ewm.SetActive(false);
|
||||
//device_Control.ewmh.SetActive(true);
|
||||
//Device_Control_9001.ewmOK = false;
|
||||
//Device_Control_9001.isSMOK = false;
|
||||
//if (Device_Control_9001.EWM_OBJ != null && Device_Control_9001.EWM_OBJ.GetComponent<Tool_Title>() != null)
|
||||
//Device_Control_9001.EWM_OBJ.GetComponent<Tool_Title>().isInstall = true;
|
||||
|
||||
Score_9001.cdzIndex = 0;
|
||||
}
|
||||
else if (num == 5)//ɨÃè¶þάÂë
|
||||
{
|
||||
|
||||
Score_9001.cdzIndex = 0;
|
||||
}
|
||||
else if (num == 6)//ÒÆ³ýË𻵶þάÂë
|
||||
|
|
Loading…
Reference in New Issue