提交
This commit is contained in:
@@ -485,6 +485,7 @@ namespace AibisDream.FixSystem
|
||||
public IEnumerator Enter()
|
||||
{
|
||||
var bodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
var openSystem = FixSystemCenter.SystemDic.Get<OpenSystem>();
|
||||
if (!CameraKit.Instance.EqualToCameraState(CameraEnum.BodyModule))
|
||||
{
|
||||
var bodyModule = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
@@ -493,7 +494,8 @@ namespace AibisDream.FixSystem
|
||||
}
|
||||
bodyModuleSystem.CableSystem.ResetPlug();
|
||||
yield return CameraKit.Instance.SwitchCamera(CameraEnum.CutEmo);
|
||||
bodyModuleSystem.FindBodyModuleByName("Emo").EnableCut();
|
||||
openSystem.EnableCut(bodyModuleSystem.FindBodyModuleByName("Emo"));
|
||||
// bodyModuleSystem.FindBodyModuleByName("Emo").EnableCut();
|
||||
}
|
||||
|
||||
public IEnumerator Exit()
|
||||
@@ -514,6 +516,7 @@ namespace AibisDream.FixSystem
|
||||
public IEnumerator Enter()
|
||||
{
|
||||
var bodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
var openSystem = FixSystemCenter.SystemDic.Get<OpenSystem>();
|
||||
if (!CameraKit.Instance.EqualToCameraState(CameraEnum.BodyModule))
|
||||
{
|
||||
var bodyModule = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
@@ -522,7 +525,8 @@ namespace AibisDream.FixSystem
|
||||
}
|
||||
bodyModuleSystem.CableSystem.ResetPlug();
|
||||
yield return CameraKit.Instance.SwitchCamera(CameraEnum.CutMemory);
|
||||
bodyModuleSystem.FindBodyModuleByName("Memory").EnableCut();
|
||||
openSystem.EnableCut(bodyModuleSystem.FindBodyModuleByName("Memory"));
|
||||
// bodyModuleSystem.FindBodyModuleByName("Memory").EnableCut();
|
||||
}
|
||||
|
||||
|
||||
@@ -552,7 +556,7 @@ namespace AibisDream.FixSystem
|
||||
}
|
||||
bodyModuleSystem.CableSystem.ResetPlug();
|
||||
yield return CameraKit.Instance.SwitchCamera(CameraEnum.CutLogic);
|
||||
bodyModuleSystem.FindBodyModuleByName("Logic").EnableCut();
|
||||
// bodyModuleSystem.FindBodyModuleByName("Logic").EnableCut();
|
||||
}
|
||||
|
||||
public IEnumerator Exit()
|
||||
|
||||
Reference in New Issue
Block a user