修复一些合并导致的问题

This commit is contained in:
2025-05-16 15:34:13 +08:00
parent dab5c97b11
commit e3c5436b37
12 changed files with 2660 additions and 834 deletions
+26 -1
View File
@@ -62,6 +62,7 @@ namespace AibisDream.FixSystem
FixState.Gear => new GearState(),
FixState.Expression => new ExpressionState(),
FixState.Emo => new EmoState(),
FixState.Op => new OpState(),
_ => new ClinicState()
};
@@ -81,7 +82,8 @@ namespace AibisDream.FixSystem
Expression,
Engine,
Gear,
Emo
Emo,
Op
}
public interface IState
@@ -442,5 +444,28 @@ namespace AibisDream.FixSystem
yield break;
}
}
public struct OpState : IState
{
public FixState GetState => FixState.Op;
public void SetArgs(string args)
{
// 无
}
public IEnumerator Enter()
{
if (!CameraKit.Instance.EqualToCameraState(CameraEnum.Op))
{
yield return CameraKit.Instance.SwitchCamera(CameraEnum.Op);
}
}
public IEnumerator Exit()
{
// 无
yield break;
}
}
}