11 lines
254 B
C#
11 lines
254 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class endingScore : MonoBehaviour
|
|
{
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
GetComponent<Text>().text = "score: " + ScoreCounter.scoreAmount.ToString();
|
|
}
|
|
}
|