TextMeshProUGUI could not be found
So im working on a GameMangaer Script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { [Header("Ball")] public GameObject ball; [Header("Player1")] public GameObject player1Paddle; public GameObject player1Goal; [Header("Player2")] public GameObject player2Paddle; public GameObject player2Goal; [Header("Score UI")] public GameObject Player1Text; public GameObject Player2Text; private int Player1Score; private int Player2Score; public void Player1Scored() { Player1Score++; Player1Text.GetComponent<TextMeshProUGUI>().text = Player1Score.ToString(); } }
and I need to use the TextMeshProUGUI
function, but it says "The namespace name or type TextMEshProUGUI could not be found. Can't find any solutions online. Reinstalled the packet manager twice still no fix. (I'm following this tutoriallink text minute 4:55. Please help