Cant Drag Damage Text

Hi Tooncis,

The type of the variable must match the type of the component. Text is not the same as TextMeshProUGUI. If you want to use the TMP component in your code, replace Text with TextMeshProUGUI and add the TMPro namespace at the top of your script.


See also:

1 Like