added sounds
This commit is contained in:
24
Assets/Scripts/UI/StartScreenView.cs
Normal file
24
Assets/Scripts/UI/StartScreenView.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class StartScreenView : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private GameObject startScreen;
|
||||
public Button tapToStartButton;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
//startScreen.SetActive(true);
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
startScreen.SetActive(true);
|
||||
}
|
||||
|
||||
public void Hide()
|
||||
{
|
||||
startScreen.SetActive(false);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user