转场拆分
This commit is contained in:
@@ -48,10 +48,6 @@ namespace AibisDream.FixSystem
|
||||
gearSystem.CurDataKey = _configKey;
|
||||
gearSystem.Load();
|
||||
}
|
||||
|
||||
// 打开引擎盖子
|
||||
yield return gearSystem.OpenCover();
|
||||
yield return gearSystem.OpenGearPanel();
|
||||
}
|
||||
|
||||
public void SetArgs(string arg)
|
||||
|
||||
@@ -135,14 +135,10 @@ namespace AibisDream.FixSystem
|
||||
var clinicSystem = FixSystemCenter.SystemDic.Get<ClinicSystem>();
|
||||
var gearSystem = FixSystemCenter.SystemDic.Get<GearSystem>();
|
||||
|
||||
// 黑屏
|
||||
// yield return MainUIController.Instance.FadeInSync(FadeDuration);
|
||||
// 隐藏诊所
|
||||
clinicSystem.gameObject.SetActive(false);
|
||||
// 激活插线系统
|
||||
bodyModuleSystem.gameObject.SetActive(true);
|
||||
// 黑屏淡出
|
||||
// yield return MainUIController.Instance.FadeOutSync(FadeDuration);
|
||||
// 移动相机
|
||||
yield return CameraKit.Instance.TransCameraAsync(CameraPos, OrthographicSize, Duration);
|
||||
// 开启引擎玩法
|
||||
@@ -151,9 +147,6 @@ namespace AibisDream.FixSystem
|
||||
gearSystem.CurDataKey = _configName;
|
||||
gearSystem.Load();
|
||||
}
|
||||
|
||||
yield return gearSystem.OpenCover();
|
||||
yield return gearSystem.OpenGearPanel();
|
||||
}
|
||||
|
||||
public void SetArgs(string arg)
|
||||
|
||||
@@ -26,5 +26,17 @@ namespace AibisDream
|
||||
{
|
||||
return FixSystemCenter.SystemDic.Get<GearSystem>().CloseGearPanel();
|
||||
}
|
||||
|
||||
[YarnCommand("close_gear_cover")]
|
||||
public static IEnumerator CloseCover()
|
||||
{
|
||||
return FixSystemCenter.SystemDic.Get<GearSystem>().CloseCover();
|
||||
}
|
||||
|
||||
[YarnCommand("open_gear_cover")]
|
||||
public static IEnumerator OpenCover()
|
||||
{
|
||||
return FixSystemCenter.SystemDic.Get<GearSystem>().OpenCover();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user