Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

BCE0022: Cannot convert 'String' to 'int'.

$
0
0
HI, I'm new with unity. I'm trying to practice but i'm getting this error BCE0022: Cannot convert 'String' to 'int' with this: can someone help me please? var score: int = "500"; var personnage: String = "Jean"; var estArme : boolean = false; print("Le score de " + personnage + " vaut " + score + " et il est arme" + estArme);

Viewing all articles
Browse latest Browse all 7934

Trending Articles