UnityGameProjectsCode / Rise2Point0Game / UnlocksButtonSetup.cs
UnlocksButtonSetup.cs
Raw
using UnityEngine;

public class UnlocksButtonSetup : MonoBehaviour
{
    private SoundManager soundMgr;
    public GameObject toolTip;

    private void Start()
    {
        soundMgr = ObjectManager.GetObject(4).GetComponent<SoundManager>();
        toolTip.SetActive(false);
    }

    public void PlayUISound()
    {
        soundMgr.PlayUIEffect(1.05f, 1.15f);
    }
}