-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/UpdatedMusic'
# Conflicts: # Assets/HandMadeGame/Code/GameFlow.cs
- Loading branch information
Showing
16 changed files
with
3,687 additions
and
22 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
|
||
public class MainMenuAudioController : MonoBehaviour | ||
{ | ||
public AudioClip MusicIN; | ||
public AudioClip MusicLOOP; | ||
public AudioClip MusicEXPLORE; | ||
|
||
public void Start() | ||
{ | ||
Audio.SetMusicVolume(4); | ||
Audio.PlayMusic(MusicIN); | ||
Audio.QueueNextSong(MusicLOOP); | ||
} | ||
|
||
public void Update() | ||
{ | ||
if (Input.anyKey) | ||
{ | ||
Debug.Log("NEW SONG"); | ||
Audio.PlayMusic(MusicEXPLORE); | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.