- Home /
If statement question...
Hello. When I am making conditions for something to have, rather than have the condition be something like equal to or greater than, is there any way I can have a condition happen if the value is anything but a specific value?
So instead of this
if(Variable==2){something}
it would be
if(Variable does not equal 1){something}
Comment
Your answer
Follow this Question
Related Questions
if condition question... 1 Answer
Operator issue in "then" statment. 1 Answer
GameObject tag to if condition 1 Answer
Multiple function conditions? 1 Answer