Start on attempt to consolidate multiple scenes into one
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user