using System.Collections; using System.Collections.Generic; using UnityEngine; public class main_BGM : MonoBehaviour { // Start is called before the first frame update void Start() { if (UIBtnMusic.instance.audioSource.clip!= UIBtnMusic.instance.BGMClickClip_main)//如果不是主界面音乐则改为主界面音乐 { UIBtnMusic.instance.PlayBGMClickSound(UIBtnMusic.instance.BGMClickClip_main); } } // Update is called once per frame void Update() { } }