Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Why is this boolean value changing?

$
0
0
Is it not possible in UnityScript to change the value of a boolean variable with the NOT operator? This is what I would expect: var x = true; var y = true; var x = !y; //variable x is now false Is this not something you can do in UnityScript? I believe it works in regular JavaScript...

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>