12 lines
254 B
C#
12 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();
|
||
|
}
|
||
|
}
|