Assets/Scripts/Player.cs(60,40): error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
Where is problem?
Assets/Scripts/Player.cs(60,40): error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
Where is problem?
This is becuase you are writing jumpSpeed + hiz;, This will return a value but the value is not being used so it is pointles if you did jumpspeed = jumpspeed + hiz that would work or as Kam said, use jumpSpeed += hiz;
jumpSpeed += hiz;
You can not declare an assignment that way> jumpspeed + hiz; You can only declare assignment: increment, decrement, call.
jumpSpeed += hiz;