Skip to content

Commit

Permalink
Ricroll
Browse files Browse the repository at this point in the history
  • Loading branch information
btschneid committed May 22, 2024
1 parent 4b61642 commit ee199f0
Show file tree
Hide file tree
Showing 6 changed files with 2,565 additions and 2,462 deletions.
1 change: 1 addition & 0 deletions Assets/CLAWS/2-Notifications/Scripts/PlayAudioByName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ void Start()

public void onAudioPlayed(PlayAudio e)
{
Debug.Log("audio played");
PlayAudio(e.audioName);
}

Expand Down
5 changes: 5 additions & 0 deletions Assets/CLAWS/2-Voice/HardCodedVoiceCommandsHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ public void SwitchScreen(Screens s)
GameObject.Find("SampleCommandScreen").GetComponent<SampleCommandHandler>().setCommands(commandMap[s]);
}

public void PlayMusic()
{
EventBus.Publish<PlayAudio>(new PlayAudio("Rickroll"));
}



}
Loading

0 comments on commit ee199f0

Please sign in to comment.