jimmy tremblay-Bernier 86fbe09b20 initial commit
2022-03-12 20:32:56 -05:00

16 lines
395 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class StoreMenuUI : MonoBehaviour
{
public Button exitBtn;
// Start is called before the first frame update
void Start()
{
exitBtn.onClick.AddListener(() => GameObject.FindGameObjectWithTag("GameController").GetComponent<StoreManager>().CloseStore() );
}
}