win music implemented

This commit is contained in:
cemt1363
2026-06-07 10:34:51 +02:00
parent 20a47a891e
commit c4757ad6bf
5 changed files with 213 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
using UnityEngine;
public class MusicPlayer : MonoBehaviour
{
private AudioSource audioSource;
void Start()
{
audioSource = GetComponent<AudioSource>();
audioSource.loop = true;
audioSource.Play();
}
}