![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | CherkAD |
пожалуйста помогите исправить ошибку: Invalid set index ‘text’ (on base: ‘null instance’) with value of type ‘String’.
extends TextureRect
func set_item(item_name, amount):
texture = load(“res://текстуры/item/%s.png” % item_name)
$Amount.text = str(amount) <—ошибка здесь