enter image description hereI have followed the tutorial on how to make a game of Brackeys from YouTube and I'm stuck on video no. 7 and I can't figure out how to resolve the problem. Please help.
The code is at 7:36
using UnityEngine;
using UnityEngine UI;
public class Score : MonoBehaviour
{
public Transform player;
public Text scoreText;
void Update()
{
scoreText.text = player.position.z.ToString("0");
}
}