I just noticed that sometimes, in code blocks posted here in the forums, “&&” sequences are missing.
For example here: Create from sprite missing? - Unity Engine - Unity Discussions
on line 20
I noticed it before somewhere else when copy-pasting a script, but I thought it was a mistake by the poster.
Testing…
bool a;
bool b;
if (a && b)
{
Debug.Log ("Testing");
}
It seems to work, but would be nice to have the specific file (.cs) in which is failing.
Yeah it also seems to work when I do it, but there are several scripts posted by other people that are missing them, so it might be a browser/OS/encoding thing…?
Anyway if it doesn’t happen often it’s not a big deal. Just thought it’s worth to mention.
Probably mention it here: Welcome to the new forums! - Industries - News & General Discussion - Unity Discussions
There are forum devs in there dealing with issues with the new forum. They’re unlikely to see it out here.