Browse Source

Only show story text on first visit in AudioRoom example

master
chrisgregan 11 years ago
parent
commit
c80f0db7aa
  1. 7
      Assets/FungusExample/Scripts/AudioRoom.cs

7
Assets/FungusExample/Scripts/AudioRoom.cs

@ -26,8 +26,15 @@ public class AudioRoom : Room
AddOption("Play a sound effect", PlaySound);
AddOption("Back to menu", MainMenu);
if (IsFirstVisit())
{
Choose("We are the music makers, and we are the dreamers of dreams.");
}
else
{
Choose();
}
}
void StartMusic()
{

Loading…
Cancel
Save