i dont have access to use:
using UnityEngine.UI;
using UnityEngine.Eventsystems;
ill show u this example
using UnityEngine;
using UnityEngine.UI;
public class MoneyUI : MonoBehaviour
{
//public Text moneyText;
void Update()
{
moneyText.text = "$" + PlayerStats.Money.ToString();
}
}
can anyone help me to fix this huge problem i dont have any access to Unity.UI
so i asked a developer and helped me with this issue ill post the answer so if u have this problem just read this
Do you use Visual Studio Code?
If so, please follow the instruction on this website and make sure all required extensions are installed: Visual Studio Code and Unity
If the issue persists, please check the console of VS Code (not Unity!). If the .NET Framework 4.7.1 (Developer Pack) is mentioned there, download and install it from the official Microsoft. Here is the link: Download .NET Framework 4.7.1 | Free official downloads
Depending on your version of Unity, it might be that you will have to install the “Visual Studio Code Editor” package in Window > Package Manager in Unity.
NOTE: you’ll have to reboot your computer. Then launch Unity again and open one of your scripts.