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

17 lines
320 B
C#
Raw Normal View History

2024-04-21 11:52:28 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2024-04-21 11:58:30 +02:00
public class ButtonSFXMainMenu : MonoBehaviour
2024-04-21 11:52:28 +02:00
{
public void OnHover()
{
2024-04-21 11:58:30 +02:00
AudioManager.PlaySound("button", Vector3.zero);
2024-04-21 11:52:28 +02:00
}
public void OnClick()
{
2024-04-21 11:58:30 +02:00
AudioManager.PlaySound("button", Vector3.zero);
2024-04-21 11:52:28 +02:00
}
}