79160786

Date: 2024-11-05 21:52:13
Score: 0.5
Natty:
Report link

If you are using Text mesh pro component for your UI text then you need to create this type of reference TextMeshProUGUI

That means instead of having this

public List<TMP_Text> oreCountTexts;

You should change it to this

public List<TextMeshProUGUI> oreCountTexts;

You can read more about it here: TextMesh Pro Documentation

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pavlos Mavris