3DTD/Assets/Scripts/Audio/ButtonSFXMainMenu.cs

17 lines
320 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonSFXMainMenu : MonoBehaviour
{
public void OnHover()
{
AudioManager.PlaySound("button", Vector3.zero);
}
public void OnClick()
{
AudioManager.PlaySound("button", Vector3.zero);
}
}