rabidus-test/Assets/Scripts/UIController.cs

20 lines
335 B
C#
Raw Normal View History

2023-07-24 16:38:13 +03:00
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);
}
}