using UnityEngine;
using System.Collections;
public class Music : MonoBehaviour
{
AudioSource a;
// Use this for initialization
void Start()
{
a = GetComponent();
}
public void Paly()
{
}
// Update is called once per frame
void Update()
{
if (Input.GetMouseButtonDown(0))
{
a.Play();
}
}
}