Game UI ready
This commit is contained in:
@@ -8,9 +8,9 @@ public class GameScreenView : MonoBehaviour
|
||||
public Button pauseBtn;
|
||||
[SerializeField] private TextMeshProUGUI scoreText;
|
||||
|
||||
private void Start()
|
||||
public void UpdateScore(int score)
|
||||
{
|
||||
gameScreen.SetActive(false);
|
||||
scoreText.text = score.ToString();
|
||||
}
|
||||
|
||||
public void Show()
|
||||
|
||||
Reference in New Issue
Block a user