Character literals not supported

Unity's JavaScript seems to be missing the syntax to declare character literals. This means you need to get them implicitly by referencing a character index from a string.

JavaScript:

var myChar = "a"[0];      // implicitly retrieves the first character of the string "a"

C#:

char myChar = 'a';        // character 'a'
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.103.96