I can’t use single quotes?
var fido = GameObject.Find(‘dog’);
throws an unexpected character error.
What’s wrong with single quotes?
Dan
I can’t use single quotes?
var fido = GameObject.Find(‘dog’);
throws an unexpected character error.
What’s wrong with single quotes?
Dan
Unity uses it’s own version of JS… Why they don’t like single quotes, I do no know. But to sort of answer your question; They just didn’t put them in to either their entire version of JS, or just their syntax checker.