|
I've seen a few others going around with this problem, but no fixes as of yet. in my Java script I have a problem, where the script is not recognizing "true" and "false". The script is below:
This is quite annoying. I'm just learning how to use Unity, and I'm pretty sure that True and False are recognized commands. if anyone knows how to fix this, please share.
(comments are locked)
|
|
True and false work just fine. If you're referring to syntax highlighting, that's up to whatever editor you're using, nothing to do with Unity. The highlighting isn't working, I understand that doesn't mean true and false are not working, but they don't seem to work either.
Dec 05 '10 at 07:42 PM
David 17
Hey guys, figured it out, thanks for the help Eric, I actually had fallout in caps on the tags, oops. XD thanks.
Dec 05 '10 at 09:57 PM
David 17
(comments are locked)
|
|
Hey everyone, I'm David, I decided to register, and use a different account name, anyway, in Tags, the "Fallout" was type like so, and had a cap, yet in the script it did not, if anyone gets this error, please check both to make sure they are IDENTICAL! Thanks. someone can close this now. theres a delete button below your question
Jan 21 '11 at 11:35 PM
fireDude67
(comments are locked)
|
|
Don't you need to set the variable as boolean, and assign it false later?
(comments are locked)
|


Define "not working". Compiler error? The script isn't doing what you expect? Something else?