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);
↧