Hello. I don't know what I do wrong but I get the error "CS1525: Invalid expression term '<' " when trying to do some if + greater than / less than statements.
Here are some variables that are not visible in the pic.
public transform tf;
public rigidbody rb;
Kiirus = rb.velocity
The error code
void KinnijäämiseParandus()
{
if(kiirus =< 13)
{
tf.position = tf.position + (0, 0, 1);
}
}
Please note that some variables and stuff are not in English, that's because I like using my home language, especially at public variables.
[1]: /storage/temp/197630-screenshot-7.png
↧