修改数据
This commit is contained in:
parent
8ccf7fad23
commit
d1ca48b6ce
Binary file not shown.
|
@ -2960,7 +2960,7 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
triggerID: 5021
|
triggerID: 5021
|
||||||
triggerName:
|
triggerName: "\u7A7A\u5F002"
|
||||||
_highlight: {fileID: 0}
|
_highlight: {fileID: 0}
|
||||||
deviceType: 4
|
deviceType: 4
|
||||||
isOpen: 1
|
isOpen: 1
|
||||||
|
@ -3162,7 +3162,7 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
triggerID: 0
|
triggerID: 0
|
||||||
triggerName:
|
triggerName: "\u7A7A\u5F002"
|
||||||
_highlight: {fileID: 0}
|
_highlight: {fileID: 0}
|
||||||
deviceType: 4
|
deviceType: 4
|
||||||
isOpen: 1
|
isOpen: 1
|
||||||
|
|
|
@ -29,22 +29,25 @@ public class Device_Cover : Device_Base
|
||||||
public Device_Seal cover_seal_Right;
|
public Device_Seal cover_seal_Right;
|
||||||
|
|
||||||
private void OnMouseDown()
|
private void OnMouseDown()
|
||||||
|
{
|
||||||
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true) == 0)
|
||||||
{
|
{
|
||||||
Debug.Log("½ÓÏßÍêºÃ");
|
Debug.Log("½ÓÏßÍêºÃ");
|
||||||
isCheckOK = true;
|
isCheckOK = true;
|
||||||
|
|
||||||
if(!isOpen)
|
if (!isOpen)
|
||||||
{
|
{
|
||||||
if (!cover_screw_Left.isInstall && !cover_screw_Right.isInstall)
|
if (!cover_screw_Left.isInstall && !cover_screw_Right.isInstall)
|
||||||
{
|
{
|
||||||
Open();
|
Open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(isOpen)
|
else if (isOpen)
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ´ò¿ª¸Ç×Ó
|
/// ´ò¿ª¸Ç×Ó
|
||||||
|
@ -54,7 +57,10 @@ public class Device_Cover : Device_Base
|
||||||
Debug.Log("´ò¿ª¸Ç×Ó");
|
Debug.Log("´ò¿ª¸Ç×Ó");
|
||||||
isOpen = true;
|
isOpen = true;
|
||||||
transform.DOLocalMoveY(-0.1388763f, 2);
|
transform.DOLocalMoveY(-0.1388763f, 2);
|
||||||
transform.DOLocalMoveZ(-0.2485413f, 2);
|
transform.DOLocalMoveZ(-0.2485413f, 2).OnComplete(() =>
|
||||||
|
{
|
||||||
|
GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class Tool_Screwdriver : Tool_Base
|
||||||
Debug.Log("·âӡδ¼ô¶Ï");
|
Debug.Log("·âӡδ¼ô¶Ï");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(ts.triggerName, false) == 0)
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(ts.triggerName, true) == 0)
|
||||||
{
|
{
|
||||||
if (ts.isInstall)
|
if (ts.isInstall)
|
||||||
{
|
{
|
||||||
|
|
|
@ -69,7 +69,6 @@ public class Tool_TestPen : Tool_Base
|
||||||
{
|
{
|
||||||
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(device_base.triggerName, true) == 0)
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(device_base.triggerName, true) == 0)
|
||||||
{
|
{
|
||||||
Debug.Log("Test(Device_Base device_base)");
|
|
||||||
if (device_base.deviceType == DeviceType.¼ÆÁ¿¹ñ_²å×ù)
|
if (device_base.deviceType == DeviceType.¼ÆÁ¿¹ñ_²å×ù)
|
||||||
{
|
{
|
||||||
var tmp = ((Device_Socket)device_base);
|
var tmp = ((Device_Socket)device_base);
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue