win music implemented
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class MusicPlayer : MonoBehaviour
|
||||
{
|
||||
private AudioSource audioSource;
|
||||
|
||||
void Start()
|
||||
{
|
||||
audioSource = GetComponent<AudioSource>();
|
||||
audioSource.loop = true;
|
||||
audioSource.Play();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user