This file contains hidden or 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
public class AudioManager : MonoBehaviour { | |
// Your audio clip | |
public AudioClip MusicClip; | |
// the component that Unity uses to play your clip | |
public AudioSource MusicSource; | |
// Use this for initialization | |
void Start () { |