- Edited
I am converting my Godot 3 project to Godot 4 and this code no longer works...
func _ready() -> void:
$Coins_Panel/coin_count.text = String(coins_collected)
$Lives_Panel/lives_count.text = String(lives)
...it gives the error...
No constructor of "String" matches the signature of "String(int)".