Brackeys / 2D-Character-Controller

Free 2D Character Controller for Unity.
https://youtu.be/dwcT-Dch0bA
1.16k stars 1.62k forks source link

error CS0029: Cannot implicitly convert type 'string' to 'int' #14

Closed kippenlars closed 4 years ago

kippenlars commented 4 years ago

Need help with this coding problem. (23,18): error CS0029: Cannot implicitly convert type 'string' to 'int

public int height; height = character.position.y.ToString("0"); '