Forum begins after the advertisement:
-
::I can’t assign Item Name and Item Description into the UI Manager by dragging them!
Please, if anyone know, what I have to do to fix it.
::Hi Ondra, are you using TextMeshPro in your Editor? To be able to assign the item name and description, you need to assign a GameObject with a Text component. If you only have TextMeshPro, you will need to add the following line at the top:
using TMPro;
Then, change the Text components to TextMeshPro Text components:
public TextMeshProUGUI itemNameText;
public TextMeshProUGUI itemDescriptionText;
::I see… thanks for that! My Unity version is 2022 or the newest so I had some error to that.
Advertisement below: