修复一些合并导致的问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user