rabidus-test/Assets/Scripts/UIController.cs

20 lines
335 B
C#

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);
}
}