some more puzzle sounds

This commit is contained in:
2023-05-16 15:01:06 +02:00
parent de10513161
commit 7a8e945f81
25 changed files with 1477 additions and 15 deletions

View File

@@ -29,6 +29,8 @@ namespace Station46.Modules.Terminal.Scripts
public List<SymbolButton> symbols;
[BoxGroup("Internal")]
public List<Transform> symbolSlots;
[BoxGroup("Internal")]
public AudioSource wrongAudioSource;
private IOption<Symbol> _activeSymbol;
private Animator _animator;
@@ -64,6 +66,7 @@ namespace Station46.Modules.Terminal.Scripts
break;
case PuzzleEventType.WrongInput:
_animator.SetTrigger(LightFlash);
wrongAudioSource.Play();
break;
}
};