Hey,
I’m having a bit of trouble converting an int to a string for use in print function.
string levelString = levelEngine.return_level();
// Set the amount of gems there are in the level.
switch(levelString)
{
case "level1":
gems = 12;
print(gems.ToString());
break;
}
}
I’m getting an error that says can’t implicitly convert int to string.