using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIController : MonoBehaviour { [SerializeField] private GameObject _startMenu; public void ShowMenu() { _startMenu.SetActive(true); } public void HideMenu() { _startMenu.SetActive(false); } }