Start on attempt to consolidate multiple scenes into one

This commit is contained in:
2022-08-19 14:36:04 -07:00
parent 4e39c75095
commit 82fe821806
11 changed files with 7874 additions and 25 deletions

View File

@@ -65,7 +65,7 @@ namespace Scampz.GameJam
return;
}
SFXManager.Instance.PlaySoundEffect(SoundEffect.Narration);
SFXManager.Instance.PlaySoundEffect(SoundEffectName.Narration);
var sentence = sentences.Dequeue();
StopAllCoroutines();
@@ -86,7 +86,7 @@ namespace Scampz.GameJam
yield return new WaitForSecondsRealtime(1f);
SFXManager.Instance.StopSoundEffect();
yield return new WaitForKeyDown(InputOptions.Submit);
SFXManager.Instance.PlaySoundEffect(SoundEffect.Ok);
SFXManager.Instance.PlaySoundEffect(SoundEffectName.Ok);
yield return new WaitForSeconds(0.5f);
DisplayNextSentence();
}