Background music

This commit is contained in:
2024-04-21 18:56:14 +02:00
parent 1ab00c2b39
commit 2844bb2718
12 changed files with 157 additions and 7 deletions

View File

@@ -14,6 +14,9 @@ public class Garage : MonoBehaviour
// Start is called before the first frame update
void Start()
{
AudioSource audioSource = GetComponent<AudioSource>();
audioSource.Play();
HotrodButton.onClick.AddListener(SelectHotrod);
RacecarButton.onClick.AddListener(SelectRacecar);
FordButton.onClick.AddListener(SelectFord);