This commit is contained in:
2022-11-30 22:32:10 +01:00
parent 2b3daeadc2
commit ae3c6a50f5
35 changed files with 4502 additions and 7 deletions

View File

@@ -46,6 +46,7 @@ namespace EscapeRoomEngine.Desert.Runtime.Puzzle_A
PuzzleEvent += (_, type) =>
{
// ReSharper disable once SwitchStatementHandlesSomeKnownEnumValuesWithDefault
switch (type)
{
case PuzzleEventType.Restarted:
@@ -61,8 +62,6 @@ namespace EscapeRoomEngine.Desert.Runtime.Puzzle_A
case PuzzleEventType.WrongInput:
_animator.SetTrigger(LightFlash);
break;
default:
throw new ArgumentOutOfRangeException(nameof(type), type, null);
}
};