_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/Scene_main/main_BGM.cs

23 lines
527 B
C#
Raw Normal View History

2024-12-09 16:54:32 +08:00
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)//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
{
UIBtnMusic.instance.PlayBGMClickSound(UIBtnMusic.instance.BGMClickClip_main);
}
}
// Update is called once per frame
void Update()
{
}
}