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