Hey
i want to check somehting pretty easy.
if a key is pressed(F) and if a float is under 1,5
i thought it would be this:
if (Input.GetKey(KeyCode.F)) && dist > 1,5;
{
//do stuff
}
but i get an " Unexpected symbol `&&'"
is there something wrong?