gimm-platformer-project/Assets/Scripts/endingScore.cs

12 lines
254 B
C#
Raw Normal View History

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();
}
}