bug 268
This commit is contained in:
parent
131173a397
commit
250b113e08
|
|
@ -69,6 +69,17 @@ public class Device_Control_9001 : Device_Control
|
||||||
public static bool ewmOK = false;
|
public static bool ewmOK = false;
|
||||||
public static bool isSMOK = false;
|
public static bool isSMOK = false;
|
||||||
public static GameObject EWM_OBJ;
|
public static GameObject EWM_OBJ;
|
||||||
|
|
||||||
|
|
||||||
|
public void InitEWM()
|
||||||
|
{
|
||||||
|
EWM_OBJ = ewm;
|
||||||
|
ewm.SetActive(false);
|
||||||
|
ewmh.SetActive(true);
|
||||||
|
ewmOK = false;
|
||||||
|
isSMOK = false;
|
||||||
|
}
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
EWM_OBJ = ewm;
|
EWM_OBJ = ewm;
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ public class StepState_9001 : StepState
|
||||||
{
|
{
|
||||||
Score_9001.cdzIndex = 0;
|
Score_9001.cdzIndex = 0;
|
||||||
}
|
}
|
||||||
else if (num == 4)
|
else if (num == 4)//Ñéµç
|
||||||
{
|
{
|
||||||
//Çå¿Õ±³°üÊý¾Ý
|
//Çå¿Õ±³°üÊý¾Ý
|
||||||
PacksackBagMgr.Instance.ClearAllData();
|
PacksackBagMgr.Instance.ClearAllData();
|
||||||
|
|
@ -85,26 +85,28 @@ public class StepState_9001 : StepState
|
||||||
PacksackBagMgr.Instance.AddOneToolOrMater(item);
|
PacksackBagMgr.Instance.AddOneToolOrMater(item);
|
||||||
});
|
});
|
||||||
|
|
||||||
Device_Control_9001.EWM_OBJ = device_Control.ewmh;
|
device_Control.InitEWM();
|
||||||
device_Control.ewm.SetActive(false);
|
|
||||||
device_Control.ewmh.SetActive(true);
|
//Device_Control_9001.EWM_OBJ = device_Control.ewmh;
|
||||||
Device_Control_9001.ewmOK = false;
|
//device_Control.ewm.SetActive(false);
|
||||||
Device_Control_9001.isSMOK = 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)
|
//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;
|
//Device_Control_9001.EWM_OBJ.GetComponent<Tool_Title>().isInstall = true;
|
||||||
|
|
||||||
Score_9001.cdzIndex = 0;
|
Score_9001.cdzIndex = 0;
|
||||||
}
|
}
|
||||||
else if (num == 5)
|
else if (num == 5)//ɨÃè¶þάÂë
|
||||||
{
|
{
|
||||||
|
|
||||||
Score_9001.cdzIndex = 0;
|
Score_9001.cdzIndex = 0;
|
||||||
}
|
}
|
||||||
else if (num == 6)
|
else if (num == 6)//ÒÆ³ýË𻵶þάÂë
|
||||||
{
|
{
|
||||||
Score_9001.cdzIndex = 1;
|
Score_9001.cdzIndex = 1;
|
||||||
}
|
}
|
||||||
else if (num == 7)
|
else if (num == 7)//¸ü»»¶þάÂë
|
||||||
{
|
{
|
||||||
Score_9001.cdzIndex = 2;
|
Score_9001.cdzIndex = 2;
|
||||||
device_Control.ewmh.SetActive(false);
|
device_Control.ewmh.SetActive(false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue